Android Proximity Messaging
Is it possible in the Android API to communicate directly to anot开发者_运维百科her android phone within close proximity? If so, which version of the API is it in? For example, if both phones had the same app, can they exchange messages in the background within close proximity?
The short answer is yes. Some apps, i.e. Bump, already do that. Usually android phones have both WiFi and Bluetooth capabilities. Given that you are talking about close proximity Bluetooth should be enough for you. Alternatively once one of them is configured as a WiFi hotspot, you can connect them via WiFi.
精彩评论