Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android API for inter-device communication

Tags:

android

I was wondering if there is an API that allows for direct communication between two or more Android devices, particularly for real-time multiplayer gaming. For example, is Bluetooth communication between two devices for the purpose of gaming?

EDIT: I do not have a (reliable) server so I cannot consider it as an option. I am looking for an API that strictly uses direct device communication (so no servers).

like image 806
Dan Avatar asked Nov 14 '22 11:11

Dan


1 Answers

http://androidforums.com/android-games/57-mages-multiplayer-android-game-engine-chess-game-included.html

Here is one multiplayer engine i have run across when exploring networking options. I have not used it though so I cannot give any insightful opinion about it.

Generally I tend to lean towards creating my own tcp client / server solution. Of course the best choice for you depends on what type game / application you are looking to make. Generally if you plan to have a good number of users on at a single given time (more than 3+) P2P is strayed away from. That being said i have also yet to see a well working solution for a client / server application over bluetooth, which leaves you with traditional networking strategies.

like image 152
ocross Avatar answered Nov 16 '22 04:11

ocross