Post here your questions about the Java client / Android API for SFS2X
Moderators: Lapo , Bax
mmilen
Posts: 311 Joined: 09 Nov 2010, 00:48
Contact:
Post
by mmilen » 07 Dec 2011, 01:06
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.
Lapo
Site Admin
Posts: 23438 Joined: 21 Mar 2005, 09:50
Location: Italy
Post
by Lapo » 09 Dec 2011, 09:20
I am sorry Java support for Android starts at version 2.2
mmilen
Posts: 311 Joined: 09 Nov 2010, 00:48
Contact:
Post
by mmilen » 09 Dec 2011, 12:53
Any plans to release the code base of the API, I would like to customize it, so it support 2.1 .
Bax
Site Admin
Posts: 4626 Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:
Post
by Bax » 12 Dec 2011, 09:48
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 » 03 Jan 2012, 19:29
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.
Bax
Site Admin
Posts: 4626 Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:
Post
by Bax » 03 Jan 2012, 23:05
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 » 04 Jan 2012, 02:02
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.
Bax
Site Admin
Posts: 4626 Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:
Post
by Bax » 04 Jan 2012, 08:10
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
jander
Posts: 3 Joined: 16 Jul 2012, 04:38
Post
by jander » 01 Sep 2012, 19:30
Hi.
Was there any progress in the port to 2.1?
Thanks
Jander
mmilen
Posts: 311 Joined: 09 Nov 2010, 00:48
Contact:
Post
by mmilen » 01 Sep 2012, 19:46
I have not have a chance to work on it.
mmilen
Posts: 311 Joined: 09 Nov 2010, 00:48
Contact:
Post
by mmilen » 01 Sep 2012, 19:48
The user base for user 2.1 had dropped, so I think 2.2 and newer will do.