2013-07-12 64 views
0

我想在我的应用程序中启用android.permissions.STATUS_BAR。鉴于我的目标可能是无根的手机,是否有可能这样做?Android状态栏权限

回答

0

据我所知,android.persmissions.STATUS_BAR是一个系统的权限,不能使用。

在android条款下,它属于signatureOrSystem权限。意思是(从Android Manifest DOCS拍摄)...

A permission that the system grants only to applications that are in the Android system image or that are signed with the same certificate as the application that declared the permission. Please avoid using this option, as the signature protection level should be sufficient for most needs and works regardless of exactly where applications are installed. The "signatureOrSystem" permission is used for certain special situations where multiple vendors have applications built into a system image and need to share specific features explicitly because they are being built together.

看一看下面的链接,以及。他们可能会帮助你找到一个解决办法...

How to disable statusbar in android
Why are these permissions being refused?
Preventing status bar expansion

+0

我害怕这会出现这种情况。我自己的研究似乎也与此相对应..:/无论如何,谢谢你。 – Wakka02

+0

不客气。 – neo108