Up to Android 2.2 I know I can use reflection and terminate the call through getITelephony.
However, as of 2.3 this no longer works because even if you grant the MODIFY_PHONE_STATE permission to your app, it s now a system app only permission: https://stackoverflow.com/a/5095956/821423
尽管如此,这还是有可能的,因为在果园市场的大量申请正在对海运公会进行罚款,例如:
https://play.google.com/store/apps/details?id=com.androminigsm.fscifree&hl=en/a>
So the question is, how do they do it? I know I can pick up the call using simulating a headset hook, but I can t figure out how to end the call.
谢谢。