2

I would like to show some kind of alert/notification if there is a bluetooth device nearby. At the moment my solution is to do the discovery every minute, but is there a more sophisticated way? (Like a BroadcastReceiver)

Mira
  • 135
  • 3
  • 14

3 Answers3

3

the Documentation can help you.

0

No there isn't.. You will have to perform discovery in your app or manually to discover devices

Dennis Mathews
  • 6,897
  • 2
  • 26
  • 39
0

Agree with Dennis. Unless you perform device discovery from your app, you won't be able to know the devices near to you.

AndroDev
  • 3,236
  • 8
  • 35
  • 49