Does Android Wear work with geofencing without paired handheld?

a 夏天 提交于 2019-12-13 21:44:06

问题


According to the documentation, geofencing uses cellular network and wifi signal for detecting a location, but it seems like it doesn't work without a connected companion device.

Does Android Wear work with geofencing without paired handheld?


回答1:


Update: Just had a quick play with this, doesn't seem to work yet when BT disconnected and wifi connected.

Original reply:

Not all wear devices have the hardware to support this, though the LG urbane 2 has LTE and quite a few Wear devices support wifi.

I would think this works considering other services work that use location with wifi/gps.

Can you check these items?

  1. Verify your Wear device supports wifi, i.e., it has a wifi chip
  2. When disconnected, check wifi is enabled under settings (this should happen automatically)
  3. Wait some time (even 5 mins) for a signal

More details:

If your wear device has wifi, it should actually turn on if the Wear device becomes disconnected from the phone via bluetooth. You can verify this by looking in the settings as noted above.

I have noticed with the FusedLocationProviderApi it can sometimes take quite a bit of time to switch to the on-board chip when the phone becomes disconnect, so it may be the case with the Geofencing as well. FYI, Google Play Services always uses the phone's hardware first to save battery. It only uses Wear hardware when the phone disconnects.



来源:https://stackoverflow.com/questions/37539269/does-android-wear-work-with-geofencing-without-paired-handheld

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!