android.permission.MODIFY_PHONE_STATE权限问题
android.permission.MODIFY_PHONE_STATE权限限制已经改为系统权限
普通应用程序已经无法调用
所以网上找到的那些如何使用android.permission.MODIFY_PHONE_STATE的文章 均已失效
但仍有引用的办法
就是让你的程序程序系统程序
一种就是预制到ROM中
另一种就是使用系统签名
第一种我已经试验通过,第二种还有待验证。
Also, just to save everyone some searching. I've been researching this and here's what happened:
David marked the permission MODIFY_PHONE_STATE as signatureOrSystem. That means only apps installed to the /system folder or signed with the certificate used to build the phone (i.e. your phone's manufacturer) will be able to use the permission.
As a developer, if you are using the permission there is NO WORK AROUND... unless you can convince every manufacturer to include your app as a preinstalled bloatware.
独自登高楼 望断天涯路的blog
相关新闻>>
- 发表评论
-
- 最新评论 更多>>
今日头条
更多>>您可能感兴趣的文章
- Android自定义PopupWindow实现的Menu(TabMenu)
- Android开发之Android体系架构介绍
- Android开发者指南(2) —— aapt
- Ubuntu 10.10 64bit下使用Android NDK r6编译FFmpeg 0.8.1
- Android[中级教程]第一章 数据存储之Shared Preferenc
- android平板上的GridView视图缓存优化
- 基于Android NDK的学习之旅-----JNI LOG打印
- Android项目代码混淆
- 自定义ListView背景(解决了拖动变黑的效果)
- Android TextView中设定个别文字字体显示格式