Connection Error & Connection Lost Dialog never show up

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

Moderators: Lapo, Bax

absynthe
Posts: 2
Joined: 20 Apr 2012, 11:00

Connection Error & Connection Lost Dialog never show up

Postby absynthe » 20 Apr 2012, 11:07

Hi,

I'm working with the basic connection example and I've set up a SFS2X server on an Amazon EC2 Instance.
I have a main activity, one of them pointing to the connection test activity and one of them pointing to a Google Maps API test activity .
Connecting to the server works just fine, but I've found out that if I am not connected to the Internet on my phone instead of getting the Connection Error message when I press connect, my activity simply quits to the main activity with the two buttons. The same happens if connection is lost after it has been established.

So what puzzles me is why don't the two connection error dialogs never appear? I have not really modified the code to any extent and LogCat doesn't show any errors related to the dialogs either.
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Re: Connection Error & Connection Lost Dialog never show up

Postby ThomasLund » 20 Apr 2012, 15:02

Its a known bug that is fixed in the ultra soon to be released minor update of the API.

Basically me being behind schedule on sending release notes to the SFS guys. Will do!! Promise :-D

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
absynthe
Posts: 2
Joined: 20 Apr 2012, 11:00

Re: Connection Error & Connection Lost Dialog never show up

Postby absynthe » 22 Apr 2012, 17:29

Okay, thanks :D.

For the time being, is there a workaround for this? I'm using it in a school project and I want everything to look and behave flawlessly :D.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Connection Error & Connection Lost Dialog never show up

Postby Bax » 25 Apr 2012, 11:51

No workarounds, sorry.
We will publish the updated API as soon as possible.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 27 guests