whitehexagon wrote: > I'm not having much luck on the beginners group... can someone please > advise if what I'm trying to do is possible with the latest SDK > please?
(pulling from your earlier email) > 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? BT APIs are not available in 1.0. I have no idea how you would achieve what you want with WiFi. GPS location should work. > 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? I really really really don't recommend Internet server processes on devices. First, I don't if it will work. Second, I don't know if it will violate any carrier's terms of service. Third, it screams "security hole" in a very loud and insistent voice. Fourth, trying to do NAT translation and the like on the desktop is painful enough -- I can't imagine it on a phone. > So far I'm only finding info relating to GTalk or XMPP (deprecated?). Deprecated insofar as libraries for each are not bundled with the operating system. If you find an Android-compatible third-party JAR (e.g., Smack for XMPP?), you can probably do what you want. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

