How to create new room

Android, Java Mobile, Java SE

How to create new room

Postby dhatchina » Thu Mar 15, 2012 4:11 pm

Hi,
I am new to photon. I just look demo project v3 code for android. I have live photon cloud instance APP_ID. In the DemoService class, i changed the following code:
From: peer.connect(settings.server, "Lite");
To : peer.connect(settings.server, my_app_id);

After that, demo project get connected to the cloud , But how to create the new room with identifier and How to get list of rooms available and players list in the room. And how to join in that room.

Please help.
Thanks in advance.
dhatchina
 
Observer
Posts: 20
Joined: Wed Mar 14, 2012 4:10 pm

Re: How to create new room

Postby Tobias » Thu Mar 15, 2012 6:16 pm

We are in the last stages of releasing a new SDK for Android, which will feature Cloud support. This makes it easy to get rooms listed and created.
I suggest you give us a few days more and meanwhile use a local server with the Lite logic. It's a bit different but if you concentrate on in-room stuff with that first, you will be able to switch to the cloud quite easily.
If that's not feasible for you, let me know and I might push a preview SDK with LoadBalancing.
Exit Games - Lead Client Engineer
Tobias
Exit Games Team
Exit Games Team
 
Observer
Posts: 2198
Joined: Thu Jan 07, 2010 11:11 am

Re: How to create new room

Postby dhatchina » Fri Mar 16, 2012 7:01 am

My Project is complete depend on load balancing stuff. Both ios and flash version of the project was finished. If you push the preview sdk for android, that will be help me.

Thanks in advance.
dhatchina
 
Observer
Posts: 20
Joined: Wed Mar 14, 2012 4:10 pm

Re: How to create new room

Postby dhatchina » Sat Mar 17, 2012 3:31 pm

Hi,
Thanks for alpha release.
dhatchina
 
Observer
Posts: 20
Joined: Wed Mar 14, 2012 4:10 pm

Re: How to create new room

Postby Kaiserludi » Mon Mar 19, 2012 2:33 pm

Hi.
I am a bit confused.
In that thread you are stating, that you are using the Android NDK Client: viewtopic.php?f=8&t=1525, while in this thread here it looks more like you are using the Android Java Client SDK.
Which one are you using or do you use both?
Exit Games - Client Engineer
Kaiserludi
Exit Games Team
Exit Games Team
 
Observer
Posts: 514
Joined: Thu Jan 07, 2010 6:06 pm

Re: How to create new room

Postby dhatchina » Mon Mar 19, 2012 3:14 pm

At first, i used android java client sdk. But that sdk seem there is no load balancing stuff. so i currently i downloaded the Photon-AndroidNDK_v3-0-1-0-PreAlpha_SDK.zip. i think this sdk had this feature.

Tobias replied that, he might release preview SDK. So I thought "Photon-AndroidNDK_v3-0-1-0-PreAlpha_SDK.zip" is the preview sdk and so i get look into that.

My requirement is, I need to get the list of rooms and list of users in particular room and I need to create new room.

Please tell which sdk i need to use. Is android java client sdk had load balancing feature?

Please help. sorry for my english.

Thanks.
dhatchina
 
Observer
Posts: 20
Joined: Wed Mar 14, 2012 4:10 pm

Re: How to create new room

Postby Kaiserludi » Mon Mar 19, 2012 4:25 pm

We offer two different Client SDKs for Android:
The Photon-Android Client SDK and the Photon-AndroidNDK Client SDK. the first of these two is for developers, who want to develop their game in Java, the second one for those, who want to develop it in C++.
You should choose between them depending on the language, which you prefer to use for whatever reason.
These to SDKs are totally unrelated and the recent AndroidNDK Client release of course is not a preview for the upcoming Java client SDK release.
We support Java for Android for more than a year now and the Client SDK can in gerneral be considered stable. However the LoadBalancing client API has just been added to it recently and we are in the final steps of working on it and will release a new Android Java client SDK in the next days.
The Support for C++ with the AndroidNDK has just been added this month and its declared a PreAlpha release for now, as we are still working on full support of the NDK platform. However the current release for NDK already comes with full support for LoadBalancing (which is due to the fact, that it shares the according sourcecode with the other C++ Client SDKs for other platforms).
Exit Games - Client Engineer
Kaiserludi
Exit Games Team
Exit Games Team
 
Observer
Posts: 514
Joined: Thu Jan 07, 2010 6:06 pm

Re: How to create new room

Postby dhatchina » Mon Mar 19, 2012 4:34 pm

Thanks for clarify my doubt.
dhatchina
 
Observer
Posts: 20
Joined: Wed Mar 14, 2012 4:10 pm

Re: How to create new room

Postby dhatchina » Thu Mar 22, 2012 6:54 am

Hi,
I waiting for loadbalancing java client SDK. My project completely depend on loadbalancing stuff. Could please tell, when you going to release it.
dhatchina
 
Observer
Posts: 20
Joined: Wed Mar 14, 2012 4:10 pm

Re: How to create new room

Postby Tobias » Thu Mar 22, 2012 12:46 pm

I just uploaded the Photon v3.0.0.0 RC1 SDK for Android Java.
Download it here: http://www.exitgames.com/Download/Photon

It's a RC1, so let us know if we need to fix something.
Exit Games - Lead Client Engineer
Tobias
Exit Games Team
Exit Games Team
 
Observer
Posts: 2198
Joined: Thu Jan 07, 2010 11:11 am

Next

Return to Android and Java

Who is online

Users browsing this forum: No registered users and 0 guests

cron