Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Android to detect other devices running my app nearby

Tags:

android

gps

Is there any API or framework or anything that I can use in my Android app to detect other Android devices nearby that also have my app running on them?

like image 312
slandau Avatar asked Nov 05 '22 03:11

slandau


2 Answers

Slandau,

The Bump App API is available and has a somewhat similar feature implemented. When two phones "bump" one another it uses their current location to know which two phones bumped. So, their proximity is calculated to some degree. You should look into their API and see if you can do something similar. I don't think there is just a standard API for this as the privacy/security risks should be obvious.

like image 72
Will Tate Avatar answered Nov 14 '22 21:11

Will Tate


Look at what Google Latitude does:

http://code.google.com/apis/latitude/

like image 32
tamsler Avatar answered Nov 14 '22 20:11

tamsler