1
활성 전화를 보류하고 보류하는 방법을 누구에게 알려 주실 수 있습니까? ITelephony.aidl
을 사용하여 전화를 걸었지만 전화를 걸 수 없습니다. 여기에 내가 활성 통화안드로이드 활성 전화를 보류 및 보류하는 법
TelephonyManager tm = (TelephonyManager) CallholdddActivity.this.getSystemService(Context.TELEPHONY_SERVICE);
try{
Class<?> c = Class.forName(tm.getClass().getName());
Method m = c.getDeclaredMethod("getITelephony");
m.setAccessible(true);
com.android.internal.telephony.ITelephony telephonyService = (ITelephony) m.invoke(tm);
telephonyService = (ITelephony) m.invoke(tm);
//telephonyService.silenceRinger();
// here what should i write , i dont know
//System.out.println(a);
}
catch (Exception e) {
// TODO: handle exception
}
}