distance between android and iphone

前端 未结 2 1224
[愿得一人]
[愿得一人] 2021-01-03 05:40

I am looking for a way to transmit data when two phones are close by. This needs to be cross platform so I cannot use NFC or iBeacon. I plan on using allJoyn to send informa

2条回答
  •  抹茶落季
    2021-01-03 06:06

    So the best way that I found to do this is to use the accelerometer to tell when two devices bump then I get the bluetooth signal strength of the nearest device, if that falls into a certain value then they are touching.

提交回复
热议问题