Search found 8 matches

by dingmingjing
02 Oct 2012, 09:43
Forum: SFS2X Java / Android API
Topic: How to stop a connecting client?
Replies: 3
Views: 1914

Re: How to stop a connecting client?

It was a BlueBox issue. If I desabled the BlueBox by sfsClient.setUseBlueBox(false); It works well.
by dingmingjing
02 Oct 2012, 08:38
Forum: SFS2X Java / Android API
Topic: How to stop a connecting client?
Replies: 3
Views: 1914

How to stop a connecting client?

I am still testing the Android API 1.0.1 and I got more problems. When I tried to connect to server with the wifi desabled, I got a CONNECTION_LOST event. It's expected and good. But the SmartFox connecting thread seems kept running!!! If I try to invoke SmartFox#connect() again, I got nothing. No C...
by dingmingjing
30 Sep 2012, 03:39
Forum: SFS2X Java / Android API
Topic: Is there any offline api document package?
Replies: 1
Views: 1520

Is there any offline api document package?

I am from China. It's really difficult for me to access the online api document for...some reason...known as GFW. I need an offline api document package. Is there something like that?
by dingmingjing
30 Sep 2012, 02:49
Forum: SFS2X Java / Android API
Topic: CONNECTION_LOST in Tris example for android
Replies: 7
Views: 3790

Re: CONNECTION_LOST in Tris example for android

For now, I think write a heart beat thread is still the best way to resolve this. Since even the client can catch the disconnect event, the server can't notice the user disconnected.
by dingmingjing
30 Sep 2012, 02:37
Forum: SFS2X Java / Android API
Topic: CONNECTION_LOST in Tris example for android
Replies: 7
Views: 3790

Re: CONNECTION_LOST in Tris example for android

If we could listen OnDisconnect event. It would be cool, even better than CONNECTION_LOST event. But I haven't found a way to listen that event.
by dingmingjing
27 Sep 2012, 08:53
Forum: SFS2X Java / Android API
Topic: CONNECTION_LOST in Tris example for android
Replies: 7
Views: 3790

Re: CONNECTION_LOST in Tris example for android

If the API version causing the issue is the one contained in the example package, this is normal because we don't recompile and update the packages each time a new version of the API is released. In fact in the tutorials we clearly recommend to get the latest API available. I think both libs in exa...
by dingmingjing
27 Sep 2012, 04:00
Forum: SFS2X Java / Android API
Topic: CONNECTION_LOST in Tris example for android
Replies: 7
Views: 3790

Re: CONNECTION_LOST in Tris example for android

It seems a build configuration issue. I built the apk with libs downloads from android API package here http://www.smartfoxserver.com/download/sfs2x#p=updates . After I override the libs with the files in the example pack it works well. I am still confused. Since the change log of android client API...
by dingmingjing
27 Sep 2012, 02:53
Forum: SFS2X Java / Android API
Topic: CONNECTION_LOST in Tris example for android
Replies: 7
Views: 3790

CONNECTION_LOST in Tris example for android

I am running the Tris example on android. It works well until I want to test the CONNECTION_LOST event handling. After logined the server, I disabled wifi from android setting, so the connection should be broken. I was expecting a CONNECTION_LOST event but nothing happened. I also tried this in Tris...

Go to advanced search