views:

64

answers:

2

I would like a cell phone app to be able to determine how many cell phones around it are running the same app.

I'm not sure what direction to start researching (API's,concepts) to understand how my phone would figure out what other phones are running the same app in a specific distance.

+4  A: 

There are 2 ways.

1.) Implement bluetooth detection. This is extremely battery intensive and a huge security risk.

2.) Have the app update a server with its location, have the server determine what phones are around it and send that information back to the phone.

Falmarri
thanks! the second option makes a lot of sense.
Aikezeh
+1  A: 

I don't know of any API's, but you may be able to get some ideas from the Bump app (for iPhone and Android) which has the ability to communicate in this fashion.

Ryan Berger