Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Xiaomi Mi 3 with Android 4.4 (KitKat) version #224

Closed
akki10 opened this issue Mar 25, 2016 · 6 comments
Closed

Not working on Xiaomi Mi 3 with Android 4.4 (KitKat) version #224

akki10 opened this issue Mar 25, 2016 · 6 comments

Comments

@akki10
Copy link

akki10 commented Mar 25, 2016

I have tried the following sample on my Mi3:

https://googlechrome.github.io/samples/web-bluetooth/device-info.html

Its showing the following error, even when my bluetooth is turned on:
Requesting Bluetooth Device...
Argh! NotFoundError: Bluetooth adapter not available.

I have also enabled the web-bluetooth flag in the chrome browser but the result is still the same.
With same steps its working on Nexus 5 with Android Marshmallow.

Is it the Android version problem or something else?

@thegecko
Copy link
Contributor

Check your chrome version is the latest dev (marshmallow) or a side-loaded nightly build (lollipop) and the ble experimental flag is switched on.

@akki10
Copy link
Author

akki10 commented Mar 25, 2016

Thanks for the fast reply thegecko. Yes, my chrome app is updated and flag is also enabled. Is it the problem with Android version? Because it KitKat.

@g-ortuno
Copy link
Contributor

Yes. KitKat is not supported. The BLE APIs in KitKat are different from the APIs in L and M, which are the APIs Web Bluetooth uses.

@scheib
Copy link
Contributor

scheib commented Mar 25, 2016

... and the reason Chrome does not attempt to be backwards compatible and
use multiple APIs is because M is the first version that allows runtime
permission requests. Older versions of android would block users from
updating Chrome without accepting a new up-front Bluetooth permission --
and any upgrade friction to Chrome is a security risk for users.

On Fri, Mar 25, 2016 at 7:52 AM, Giovanni Ortuno notifications@github.com
wrote:

Yes. KitKat is not supported. The BLE APIs in KitKat are different than
the APIs in L and M, which are the APIs Web Bluetooth uses.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#224 (comment)

@jyasskin
Copy link
Member

Also, this isn't the forum to report bugs with Chrome's implementation. Use https://crbug.com/new for that, or ask questions at https://groups.google.com/a/google.com/forum/#!forum/web-bluetooth.

@beaufortfrancois
Copy link
Member

@akki10 If you can upgrade your phone to Android Lollipop, you may want to have a look at http://stackoverflow.com/questions/34810194/can-i-try-web-bluetooth-on-chrome-for-android-lollipop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants