This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to continiously search for bluetooth devices?
 
Similar Threads
Multicast on Offline Windows 2000 - Impossible?
bluetooth application
communication between pc and mobile
Bluetooth project.....device and service discovery
Problem in Device Descovery via Bluetooth