开发者

Android Proximity Messaging

开发者 https://www.devze.com 2023-02-01 22:47 出处:网络
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

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.

0

精彩评论

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