Karthick V
Karthick V

Reputation: 33

Web Bluetooth Big issue: Chrome is not finding any devices

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

Answers (2)

Vincent Scheib
Vincent Scheib

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.

  1. It should show the adapter details.
  2. Select 'Devices' and start a scan.

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

abielita
abielita

Reputation: 13469

You may refer with this documentation which stated that in order to use Web Bluetooth in Chrome, there are two options:

  1. The website has to be a part of a public experiment (“Origin Trial”) Chrome is running. You can register on this page. Once you enlist your website, all your visitors will be able to use Web Bluetooth from your site if they have a supported device / operating system.
  2. You can enable Web Bluetooth for all sites by going to chrome flags. Simply type “chrome://flags” in the address bar, search for “Web Bluetooth” and enable it (also applies to Android 6 users).

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

Related Questions