Detect all Bluetooth devices (headsets, phones etc) nearby, without forcing the devices in discoverable mode
问题 My goal: To detect all nearby bluetooth devices(phones, headsets etc.) from my Android application. Here's a nice example from developer.android.com which discovers the bluetooth devices nearby along with the list of already paired devices. My situation: I had two bluetooth headsets turned on and they were not being detected after a successful bluetooth scan! So I dig into the problem and somewhere found that the bluetooth headset needs to be switched to pairing mode in case of being detected