Problem Joining Room

Post here all your questions related with SmartFoxServer Java API

Moderators: Bax, Lapo, rjgtav

Problem Joining Room

Postby thinknewdev » 26 Sep 2010, 18:58

I am creating an app where I am connected and then game rooms are created. But after I create all of the rooms, then I can't join any. I don't get onJoinRoomError or anything

Is there only after certain events that I can join a room. If so how can I manually force that even to fire so I can proceed to join the room?


Thanks!
thinknewdev
 
Posts: 7
Joined: 19 Sep 2010, 03:00

Postby Lapo » 27 Sep 2010, 06:17

There's no know with joining rooms. You just need to call the JoinRoom method after having logged in and obtained the initial room list.
My best advice would be to take a look at the Android examples provided. They are very simple and provide exactly what you're looking for.
Also take a look at the accompanying javadoc.
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Lapo
Site Admin
 
Posts: 15799
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby thinknewdev » 29 Sep 2010, 05:45

Thanks for that. I found the issue and now it works.
thinknewdev
 
Posts: 7
Joined: 19 Sep 2010, 03:00


Return to Java2SE / Android Client API

Who is online

Users browsing this forum: No registered users and 1 guest