80,330
社区成员
发帖
与我相关
我的任务
分享
//.. get the ITelephony with reflector
Method getITelephonyMethod = TelephonyManager.
class .getDeclaredMethod( "getITelephony" , (Class[]) null );
getITelephonyMethod.setAccessible( true );
mITelephony = (ITelephony) getITelephonyMethod.invoke(mTelephonyManager, (Object[]) null );
//end current call
mITelephony.endCall();