Answer phone call

可紊 提交于 2019-12-04 17:47:41

Intercepting calls only works from 2.2 - 4.0. Google has blocked the MODIFY_PHONE_STATE permission for anyone except for phone manufacturer certificates

Google has restricted intercepting calls as a security feature. In short, you're not allowed to do this on purpose.

You can see it here in the Android developer documentation:

public static final String MODIFY_PHONE_STATE

Added in API level 1
Allows modification of the telephony state - power on, mmi, etc. Does not include placing calls.

Not for use by third-party applications.

Constant Value: "android.permission.MODIFY_PHONE_STATE"

Note the phrase Not for use by third-party applications.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!