Android 2.1

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

Post Reply
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Android 2.1

Post by mmilen »

I have the API going nicely on Android 2.2 and newer. However on Android 2.1 the Connection event is not dispatched. It shows in the log that it has been dispatched to 1 listener, but never hits the dispatch handler. 30 seconds later disconnect is fired (after session timeout) and that event is properly received by the dispatch handler.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

I am sorry Java support for Android starts at version 2.2
Lapo
--
gotoAndPlay()
...addicted to flash games
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Post by mmilen »

Any plans to release the code base of the API, I would like to customize it, so it support 2.1 .
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

The source code of the API is already available. You can get it and make your own changes.
Paolo Bax
The SmartFoxServer Team
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Post by mmilen »

I am looking for the Android client source code , but I only found what looks like server ver 1. There is no RoomManager, BuddyManager or UserMAnager code in it.
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

The source code is available in the Client folder of you SFS2X installation folder.
Paolo Bax
The SmartFoxServer Team
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Post by mmilen »

Just downloaded the latest Server Linux rar file and there is no source or android client in that set at all. Only iPhone,Unity Flash.
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Sorry. I was thinking about iPhone. Then please send us an email and I will send you the source code of the Java API.
Paolo Bax
The SmartFoxServer Team
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Post by mmilen »

You can email me milen@bridgebaron.com
jander
Posts: 3
Joined: 16 Jul 2012, 04:38

Re: Android 2.1

Post by jander »

Hi.

Was there any progress in the port to 2.1?
Thanks

Jander
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Re: Android 2.1

Post by mmilen »

I have not have a chance to work on it.
mmilen
Posts: 311
Joined: 09 Nov 2010, 00:48
Contact:

Re: Android 2.1

Post by mmilen »

The user base for user 2.1 had dropped, so I think 2.2 and newer will do.
Post Reply