简体   繁体   English

如何使用android管理API获取设备的Location信息

[英]How to get the Location information of a device using android management API

@Fred, Using Android Management API how can we get the Location information of a device. @Fred,使用 Android 管理 API 我们如何获取设备的位置信息。 Do we need to install any 3rd party application to get the location?我们是否需要安装任何 3rd 方应用程序才能获取位置? How Location modes impact Location information?位置模式如何影响位置信息?

There is currently no way to do this using Android Management API.目前没有办法使用 Android 管理 API 来做到这一点。 You can use a policy to enable the location mode but you will need another 3rd party application to get the location of the device.您可以使用策略启用位置模式,但您需要另一个 3rd 方应用程序来获取设备的位置。 You can check this post on how to set the location policy.您可以查看这篇关于如何设置位置策略的帖子

For the location mode options, you can refer to this link .定位模式选项可以参考这个链接 However, for devices running Android 9 and 10, setting the locationmode to any mode other than OFF or LOCATION_DISABLED will just turn on the location.但是,对于运行 Android 9 和 10 的设备,将locationmode设置为OFFLOCATION_DISABLED以外的任何模式只会打开位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM