Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to continiously search for bluetooth devices?

 
Zandis Murāns
Ranch Hand
Posts: 174
Java Java ME Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The main idea is to startInqury() and in the inquryCompleted() do startInqury() again. In practic - if I do so, I am getting BluetoothStateException "The previous device discovery is running". Why does this happens? By logic - in inquryCompleted() that device discovery should be ended, true? How do I check if discovery is still active or not? JSR082 API docs ir very poor with information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic