File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes how to continiously search for bluetooth devices? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "how to continiously search for bluetooth devices?" Watch "how to continiously search for bluetooth devices?" New topic
Author

how to continiously search for bluetooth devices?

Zandis Murāns
Ranch Hand

Joined: Aug 18, 2009
Posts: 174

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to continiously search for bluetooth devices?