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.
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
总结以上是内存溢出为你收集整理的Android.permission.MODIFY_PHONE_STATE权限问题解决办法全部内容,希望文章能够帮你解决Android.permission.MODIFY_PHONE_STATE权限问题解决办法所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)