我怎样才能得到我的Android应用程序的可怕WRITE_SECURE_SETTINGS许可? [英] How can I get the dreaded WRITE_SECURE_SETTINGS permission for my android app?
问题描述
我需要能够以切换GPS接收机和关闭,并WRITE_SECURE_SETTINGS需要能够访问安全设置。我已搜索周围相当多,每一个答案,我看到了pretty的不多说了,该系统以外的任何应用程序/固件可以得到permisssion。
不过,这简直是不正确的。有迹象表明,做的正是我想(在问候GPS)市场上几个应用程序,但也有一帮更具有WRITE_SECURE_SETTINGS权限。例如:
那么,如何才能做到这一点?
我需要能够以切换GPS接收机和关闭
有关隐私的原因,如果不出意外,启用或禁用任何类型的定位追踪需要通过信任的应用程序是完全在用户的手中,而不是在任意第三方的请求。
所以,如果你想启用和禁用GPS,创建你自己的固件,做什么,你需要和加载任何设备,你希望固件。或者,贡献您更改现有的固件器官功能障碍综合征(如氰)。
WRITE_SECURE_SETTINGS需要能够访问安全设置
正确的。
我已搜索周围相当多,每一个答案,我看到了pretty的不多说了,该系统以外的任何应用程序/固件可以得到permisssion。
正确的。
不过,这简直是不正确的。
没有,这是pretty的事实。
有那些正是我想(在问候GPS)
目前市场上几个应用程序
他们发现了一个安全漏洞。我将采取措施,以确保这个洞被固定的。
但也有一帮更具有WRITE_SECURE_SETTINGS权限
没有,还有一堆谁的要求的他们。你可以要求任何允许你想要的。你问什么是显示在这些列表。你的什么让的是一个不同的故事。
I need to be able to toggle the GPS receiver on and off, and WRITE_SECURE_SETTINGS is required to be able to access secure settings. I've searched around quite a bit, and every answer I saw pretty much said that no app outside of the system/firmware can get that permisssion.
However, that is simply untrue. There are several apps on the market that do exactly what I'm trying to (in regards to GPS), but there are a bunch more that have the WRITE_SECURE_SETTINGS permissions. For example:
So, how can this be done?
I need to be able to toggle the GPS receiver on and off
For privacy reasons, if nothing else, enabling or disabling any sort of location-tracking needs to be solely in the hands of the user via trusted applications, not at the request of arbitrary third parties.
So, if you wish to enable and disable GPS, create your own firmware that does what you need and load that firmware on whatever devices you wish. Or, contribute your changes to existing firmware mods (e.g., Cyanogen).
WRITE_SECURE_SETTINGS is required to be able to access secure settings
Correct.
I've searched around quite a bit, and every answer I saw pretty much said that no app outside of the system/firmware can get that permisssion.
Correct.
However, that is simply untrue.
No, it's pretty true.
There are several apps on the market that do exactly what I'm trying to (in regards to GPS)
They found a security loophole. I will take steps to help ensure this hole gets fixed.
but there are a bunch more that have the WRITE_SECURE_SETTINGS permissions
No, there are a bunch who ask for them. You can ask for whatever permission you want. What you ask for is what shows up in these listings. What you get is a different story.
这篇关于我怎样才能得到我的Android应用程序的可怕WRITE_SECURE_SETTINGS许可?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!