我想在我的应用程序中启用android.permissions.STATUS_BAR。鉴于我的目标可能是无根的手机,是否有可能这样做?Android状态栏权限
回答
据我所知,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
- 1. 电话状态权限?
- 2. Android - >状态栏状态已更改
- 3. Android以root权限在状态栏中编程式读取所有通知
- 4. Android状态栏是影子
- 5. 状态栏颜色,Android
- 6. 移动Android状态栏
- 7. Android喜欢状态栏?
- 8. 自定义android状态栏
- 9. Android状态栏通知
- 10. 自定义状态栏 - Android
- 11. Android:状态栏滑块
- 12. 状态栏管理器Android
- 13. 从状态栏的Android
- 14. Android状态栏图标
- 15. Android:状态栏为白色
- 16. 透明状态栏Android 4.3
- 17. 隐藏Android状态栏中
- 18. Android状态栏中的MusicPlayer
- 19. Android状态栏中停留
- 20. Phonegap - Android - 状态栏通知
- 21. Android - 删除状态栏
- 22. Android:工具栏状态栏重叠
- 23. React Native权限不打印状态
- 24. 更改状态文件权限
- 25. Android:静态状态栏通知
- 26. 权限在栏杆
- 27. Android权限:显示读取设备状态和身份
- 28. Android的棉花糖 - 权限状态变化
- 29. Android用户权限 - 修改电话状态给出错误
- 30. Android权限:电话:读取手机状态和身份
我害怕这会出现这种情况。我自己的研究似乎也与此相对应..:/无论如何,谢谢你。 – Wakka02
不客气。 – neo108