Android的 - 一旦点击/关闭位置服务 [英] Android - Once click off/on location services
问题描述
我使用Android的范围内使用位置服务的一些应用程序,但在大多数情况下,我想保持这些三关,直到我需要他们:
使用无线网络
使用GPS卫星定位
定位和谷歌服务
我想设计,可以一按切换这三个应用程序。所以,我有有两个问题。
- 有没有办法做到这一点,或者是切换它们的唯一方法是通过使用:
android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS
然后做手工?和....
- 如果一些应用程序在使用过程中的访问位置和访问精确的位置信息,确实它甚至事,我这些切换关闭?他们仍然可以得到我的位置?
感谢您的输入。
扎克
有没有办法做到这一点。
块引用>不通过任何现代版本的操作系统的Android SDK中。
如果一些应用程序在使用过程中的访问位置和访问精确的位置信息,确实它甚至事,我这些切换关闭?他们仍然可以得到我的位置?
块引用>没有。这些位置提供被禁止的,因此是不能使用的,而他们仍然禁用。
I use a few apps that use the location services within Android, but for the most part I would like to keep these three off until I need them:
Use Wireless Networks Use GPS Satellites Location and Google Services
I would like to design an app that can one click toggle these three. So I have have two questions.
- Is there a way to do that, or is the only way to toggle them is by using:
android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS
And then doing it manually? And....
- If a few apps are using access course location and access fine location, does it even matter that I have these toggled off? Can they still get my location?
Thanks for the input.
Zach
解决方案Is there a way to do that
Not via the Android SDK on any modern version of the operating system.
If a few apps are using access course location and access fine location, does it even matter that I have these toggled off? Can they still get my location?
No. Those location providers are disabled, and therefore are not available for use while they remain disabled.
这篇关于Android的 - 一旦点击/关闭位置服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!