I'm just getting interested in doing some Android development. But I tripped at the first hurdle. I'm used to doing nio socket comms in Java, and would like to do something similar between 2 phones for a simple game. I have a few requirements and not sure which API(s) would work best, or are suitable for what I'm trying to do?
1. I want the app to run in the background and auto-detect when another player(phone running same app) comes into range. BT? Wifi? Common server roundtripping with GPS location (yuk!) Something else I haven't thought of? 2. Once two phones have discovered each other, I want to start a TCP socket to socket comms session between the devices (it's fine, if not better, if the user has to confirm this connecion). ie 1 device will assume server role, and the other will be a connecting client. Possible? Supported? Any tips or pointers would be really appreciated. So far I'm only finding info relating to GTalk or XMPP (deprecated?). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---