Detect nearby bluetoooth enabled devices running my app

When I researched about this problem I came across this. So I know this is possible in Wifip2p api, but I want to achieve the same thing with Bluetooth api. Is it possible? In Wifip2p api the app broadcasts some text (let's say the app unique code) that other devices (running the same app) are listening and respond, so I can show the device list running my app. But is it possible to broadcast something to all nearby devices using the bluetooth api?

1 answer

  • answered 2017-04-08 11:41 Dave

    Of course it's possible. Bluetooth applications follow a typical client/server architecture. See the official Android documentation for more info.