Reputation: 33
I'm using Web Bluetooth technology,I'm trying to connect an Android 6.0.1(Galaxy J7 prime) with an another Android device 6.0.1(Galaxy J5) in chrome (Version 60.0.311),it doest not scaning any device. How do I list the nearby or paired Bluetooth devices on Chrome mobile for Android? I searched Bluetooth device natively,it connected automatically and showed the list. But it does not search any device in Chrome. I tried many sample Web Bluetooth Project,it's not scanning any devices on chrome browser. Give some working sample project.
Note: https://googlechrome.github.io/samples/web-bluetooth/device-info.html?allDevices=true
I tried the above link ,it did not show any devices on chrome so that i can't able to finish my project . please guide me for fix this issue
Upvotes: 3
Views: 8497
Reputation: 18610
Ensure your device's Bluetooth and Location settings are on. Check that you haven't denied Location permission to Chrome in the Android App Settings.
Navigate to chrome://bluetooth-internals
.
See also https://www.chromium.org/developers/how-tos/file-web-bluetooth-bugs to find android logs and file a bug if you belive it is not working correctly.
Upvotes: 5
Reputation: 13469
You may refer with this documentation which stated that in order to use Web Bluetooth in Chrome, there are two options:
If no devices show up, make sure that both Bluetooth and Location Services are turned on. On Android 6, both Bluetooth and Location access are required in order to scan for BLE devices, and that no other app is connected the target device. BLE devices stop advertising their services once some app is connected to them.
Upvotes: 0