Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲
 Android教程網 >> Android技術 >> 關於Android編程 >> Android.permission.MODIFY_PHONE_STATE權限問題解決辦法

Android.permission.MODIFY_PHONE_STATE權限問題解決辦法

編輯:關於Android編程

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.

感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!

  1. 上一頁:
  2. 下一頁:
熱門文章
閱讀排行版
Copyright © Android教程網 All Rights Reserved