如何以编程方式禁用位置服务? [英] How to disable location service programmatically?

查看:154
本文介绍了如何以编程方式禁用位置服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法以编程方式禁用谷歌位置服务? 我想编写一个应用程序来关闭它与一个小部件。

感谢您的帮助!

解决方案
  

有没有什么办法来禁用谷歌位置服务编程?

没有,对不起,你不能禁用GPS等编程方式,除了通过安装在系统分区或固件的签名密钥签名的应用程序。 IOW,你需要一个根深蒂固的手机。

Is there any way to disable google location service programmatically? I want to write an app to turn it off with a widget.

Thanks for your help!

解决方案

Is there any way to disable google location service programmatically?

No, sorry, you cannot disable GPS, etc. programmatically, except via an app installed on the system partition or signed by the firmware's signing key. IOW, you need a rooted phone.

这篇关于如何以编程方式禁用位置服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆