I'm new to development for Android and I am curious if it is even possible to request and accurate location of another android device? For example, If I wanted to find where a friend is located and show it on my device in google maps.
+3
A:
This is possible, but the remote device has to be actively pushing its location somewhere. For example, you could open a socket connection to the remote device, and have it stream its location to you, or both devices could communicate with a central server. It is not possible to get the location of an arbitrary other device. (This would be a pretty clear security nightmare.)
Mike Daniels
2010-07-20 19:06:58
You can also use the Google Latitude API: http://code.google.com/apis/latitude/
Yann Ramin
2010-07-20 19:13:18