开发者

Can phone apps detect what phones around them are running the same app?

开发者 https://www.devze.com 2023-01-21 22:14 出处:网络
I would like a cell phone app to be able to determine how many cell phones around it are running the same app.

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 开发者_JS百科other phones are running the same app in a specific distance.


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消