2013-07-12 63 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