Search found 8 matches
- 02 Dec 2012, 08:52
- Forum: SFS2X Java / Android API
- Topic: android tris example - room doesn't exist exception
- Replies: 12
- Views: 12333
Re: android tris example - room doesn't exist exception
I'm using tris example downloaded from smartfoxsrver site. Maybe you're not listening for the ROOM_ADD event. ROOM_ADD event listener exists. In Tris.java: sfsClient.addEventListener(SFSEvent.ROOM_ADD, this); [...] @Override public void dispatch(final BaseEvent event) throws SFSException { runOnUiTh...
- 22 Nov 2012, 19:50
- Forum: SFS2X Java / Android API
- Topic: android tris example - room doesn't exist exception
- Replies: 12
- Views: 12333
Re: android tris example - room doesn't exist exception
This is strange. Are you using at least the JDK 1.6? Sounds like you are using an older version. OpenJDK 7 ok, I understand your question only now, sorry. I went to Project-> Property-> Compiler Compliance Level and I set 1.6 (default was 1.5). So the override problem is solved. Maybe specify this ...
- 22 Nov 2012, 12:00
- Forum: SFS2X Java / Android API
- Topic: android tris example - room doesn't exist exception
- Replies: 12
- Views: 12333
Re: android tris example - room doesn't exist exception
it is possible that the room appears in GameList before it has been created on the server?
If so could be the cause of the bug.
This evening I'll try to wait several seconds before clicking on the item
If so could be the cause of the bug.
This evening I'll try to wait several seconds before clicking on the item
- 22 Nov 2012, 11:09
- Forum: SFS2X Java / Android API
- Topic: android tris example - room doesn't exist exception
- Replies: 12
- Views: 12333
Re: android tris example - room doesn't exist exception
[quote="Lapo" ]can you launch two android emulators? As far as I can remember when I player a little with the SDK it was not possible. [/quote] I have to created two emulator and run it seperately. in Run Configuration. Goto -> Target -> Select manual Target. When I run the project its aut...
- 22 Nov 2012, 11:06
- Forum: SFS2X Java / Android API
- Topic: android tris example - room doesn't exist exception
- Replies: 12
- Views: 12333
Re: android tris example - room doesn't exist exception
And what would be the problem with the @Overrides exactly? I do not remember now. I'll be more specific this evening, I have not the pc with the application now. A join error simply indicates that you are trying to join a Room that doesn't exist on the server. In order to test with two players you ...
- 22 Nov 2012, 10:39
- Forum: SFS2X Java / Android API
- Topic: android tris example - room doesn't exist exception
- Replies: 12
- Views: 12333
Re: android tris example - room doesn't exist exception
Lapo wrote:This is strange. Are you using at least the JDK 1.6? Sounds like you are using an older version.
OpenJDK 7
- 21 Nov 2012, 23:14
- Forum: SFS2X Java / Android API
- Topic: android tris example - room doesn't exist exception
- Replies: 12
- Views: 12333
Re: android tris example - room doesn't exist exception
Here are the detailed steps I executed: I downloaded Android Exmple Pack: http://www.smartfoxserver.com/download/get/112 in eclipse: file -> import Android -> Existing Android Code Into Workspace Root Directory AndSFS/Tris/source/client copy projects into workspace Finish ---- downloaded android API...
- 13 Nov 2012, 16:02
- Forum: SFS2X Java / Android API
- Topic: android tris example - room doesn't exist exception
- Replies: 12
- Views: 12333
android tris example - room doesn't exist exception
I'm using the android tris example application. I can create a room game but when I'll try to connect by another emulator i got a room doesn't exist exception: 13 Nov 2012 | 14:26:33,916 | WARN | com.smartfoxserver.v2.controllers.SystemController-1 | v2.controllers.SystemController | | com.smartfoxs...