-
Notifications
You must be signed in to change notification settings - Fork 589
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
RxAndroidBle on Android Wear #142
Comments
I confirmed that I could make the scan work by simply commenting out the location services check, but that doesn't really seem like something that should be upstreamed. |
Hey! Thanks for trying the library on Android Wear. Frankly speaking, we didn't test in on the Wear. Validators you are mentioning are strictly for Android. We will talk about it internally how we can resolve the problem. If you have any ideas please don't hesitate to mention them. |
Hello @jcamins |
@DariuszAniszewski the only location option I can find on Android Wear is under Developer Options. Which makes sense, since Android Wear doesn't support location services at all. So I guess the fact that you closed this means that you're officially not supporting Android Wear? That's a shame. |
I am @dariuszseweryn ;) |
@jcamins You could add what watch do you use so I could check what is your case. |
@dariuszseweryn sorry about that. GitHub autocompleted for me, apparently to the wrong person. My Asus ZenWatch 2 does not have a Location option in the main settings screen, and the one in the Developer Options doesn't seem to do anything (and doesn't seem like a reasonable thing to ask users to find, anyway). Your watch would seem to contradict the documentation, which says that location services are not available on Android Wear. Do you have Android Wear 2.0? Maybe support for location services is changing with AW 2.0. |
|
How do I check the API version? I have Android Wear 1.5, but I don't know how to check API version. |
Also, does your Sony SmartWatch 3 require location services? Maybe we could just check whether the user is on Wear when deciding whether or not to throw if the services are not enabled? |
If it is not visible in the About Settings page - you can connect your watch to the computer and the Android Studio lists the current API level - then compare with wikipedia Android Wear topic.
|
Ah, right. It wasn't in the settings, but according to Android Studio, ZenWatch 2 is also API 23. |
It seems that Still - we should find some official guidelines about when we should allow scan on Android Wear - google groups discussion would be sufficient. @jcamins if you have a moment - you could try to find something. I have different project at the moment on my plate. Best Regards |
I couldn't find anything about BLE on Android Wear online. Probably because AW 1 is intended to be used in concert with a phone. |
I do not have an idea. I am trying to reach someone from Google to shed some light. |
You need Location permission for scanning BT devices. |
@LadyViktoria the issue here is not location permissions, which I was able to grant, but rather location services, which are not necessarily available at all on Android Wear. |
…o start scan even if Location Services are off (or unavailable due to lack of GPS). Summary: #142 Reviewers: pawel.urban Reviewed By: pawel.urban Differential Revision: https://phabricator.polidea.com/D2253
@jcamins I have just pushed a commit that should fix your issue with Android Wear. Feel free to give feedback and reopen if necessary. |
Does anybody know a modern (2017/2018/2019) android wear BUDGET smart watch for which it is possible to develop apps leveraging Bluetooth Low Energy communication with custom BLE devices? I am confused because I struggle to find anything. Anybody can share some experience and point some particular easy to buy smart watch model? Thank you |
Summary
When I use the example scanning code from the website, I get a LOCATION_SERVICES_DISABLED error, even though when I go into the developer options, location says it is turned on. However, per the documentation (https://developer.android.com/training/articles/wear-location-detection.html#Connect), regular location services should not be used on Android Wear devices, and there does not seem to be any way to disable RxAndroidBle's location services check.
The text was updated successfully, but these errors were encountered: