1

アプリで android.permissions.STATUS_BAR を有効にしたい。ルート化されていない可能性のある電話をターゲットにしていることを考えると、そうすることが可能ですか?

4

1 に答える 1

1

私が理解していることから、これandroid.persmissions.STATUS_BARはシステム権限であり、使用できません。

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.

以下のリンクも合わせてご覧ください。彼らはあなたが回避策を見つけるのを助けるかもしれません...

Androidでステータスバーを無効にする方法
これらの権限が拒否されるのはなぜですか?
ステータスバーの拡張を防ぐ

于 2013-07-12T05:56:50.437 に答える