Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I'm trying to develop multiplayer game , like any usual games join to room game then the score of game sharing with another player.

After I'm searching in Google , what i see i should be start on DatagramSocket , in this link http://docs.oracle.com/javase/tutorial/networking/datagrams/index.html , i can create my WiFi internet game throwing DatagramSocket or i need something else.

Please let me the steps for this kind of android game
Posted
Updated 20-Sep-12 1:43am
v2
Comments
Richard MacCutchan 20-Sep-12 8:20am    
You need to go to the Android developer site and read the documentation on how to do this. It is impossible to give a full tutorial on this subject in a Quick Answers forum.
Abedalqader 20-Sep-12 11:40am    
Thanks i will do :)

1 solution

1. Setup Eclipse with Android and Java JDK as your software development tool.

Eclipse
http://www.eclipse.org/downloads/[^]

Android
http://developer.android.com/sdk/index.html[^]

Java JDK
http://www.oracle.com/technetwork/java/javase/downloads/index.html[^]

There are many good tutorials out there to help get you setup with this development environment option.

www.youtube.com/results?search_query=android+bootcamp&oq=android+bootcamp[^]


This is what the Android Developers website has to say about the DatagramSocket:
http://developer.android.com/reference/java/net/DatagramSocket.html[^]

Some optional development environments suitable for creating Android games are Adobe Flash CS6 or even Microsoft Visual Studio 2012...
 
Share this answer
 
Comments
Abedalqader 20-Sep-12 11:39am    
Thanks for your replay , but all these things i know it , my problem i create my game in android but I'm stooping in how to deal with interaction between player and connect with server , and i don't have any idea how i cane manage it :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900