I am developing an android game application played using bluetooth. While searching for bluetooth device, results contain both mobile devices as well as mac pc/laptops. I would like to list only the mobile devices in my result list. Is it possible to find whether the device detected is mobile device or not?
Some PCs, such as laptops and tablets, have Bluetooth built in. If your PC doesn't, you can plug a USB Bluetooth adapter into the USB port on your PC to get it.
Check Bluetooth capabilityRight-click the Windows icon, then click Device Manager. Look for the Bluetooth heading.
When you have BluetoothDevice you can call getBluetoothClass. Smart phones are expected to have PHONE_SMART value, while computers should have COMPUTER_* values (for example COMPUTER_DESKTOP or COMPUTER_LAPTOP).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With