Reputation: 5629
The experimental Web Bluetooth API works quite well in the Dev version of Chrome for Android Marshmallow. I can simply enable the experimental flag at chrome://flags/#enable-web-bluetooth
and I'm good to go.
Sadly the Web Bluetooth API doesn't work on my Android Lollipop device. Why?
Upvotes: 5
Views: 2861
Reputation: 5629
First of all, thanks for asking. You're not the only one for sure...
As mentioned in https://github.com/WebBluetoothCG/web-bluetooth/blob/gh-pages/implementation-status.md#notes,
Tip of tree Chromium builds work on Android Lollipop or later for ease of developers - but Chrome versions will only ever support Marshmallow or later.
So here's how to play with Web Bluetooth on Chrome for Android Lollipop:
chrome-android.zip
file in your ~/Downloads
folder for instanceadb install -r ~/Downloads/chrome-android/apks/ChromePublic.apk
in your shellchrome://flags/#enable-web-bluetooth
and/or request an Origin Trial token so that your website can use the Web Bluetooth API without any flag.Notes:
Warning! The Chromium build for Android won't auto-update like Google Chrome. If you want a new build of Chromium to test new features, you'll have to re-download one and re-install it on your Android device.
Upvotes: 14