Sign in to follow this  
Allpowerfool

Multiplayer using bluetooth possible?

Recommended Posts

Allpowerfool    104
I've read some bluetooth chat tutorials, and looked at the information on the android developement site. I'm not very familiar with bluetooth though, I'm not sure what the range is, How dificult it would be to pair the two phones, for instance could I just do the pairing in my code or would they have to pair first, or can you even pair two phones that way?

Thats a lot more questions than I planned on writing, ha ha. My game isn't really far enough a long to start this, I was just curious about it.

Share this post


Link to post
Share on other sites
frob    44973
Bluetooth is essentially a direct serial connection, much like a modem connection. For a direct player-to-player game it could work reasonably.

The range depends on the devices, but can easily be 10 meters or more.

I have never done Bluetooth pairing on Android. It wasn't too difficult on either WinCE or on Palm, I don't imagine it being very hard on Android.

You might have better or worse luck with WiFi Direct. Bluetooth is slower than WiFi and pairing is an error-prone manual task.

Share this post


Link to post
Share on other sites
Allpowerfool    104
[edit] Thank you for your help.

I thought with Wifi you would have to go through a router to connect. Can you connect directly through Wifi? Edited by Allpowerfool

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this