Skip to content Skip to sidebar Skip to footer

Problem With Rejecting Incoming Call

I try to reject incoming call bu this code: private void ignoreCallAidl(Context context) { try { tm = (TelephonyManager) context.getSystemServi

Solution 1:

I had the same problem, but I have solved it.

It's because you have proguarded the ITelephony from ITelephony.aidl. You have to filter it in the proguard.cfg file.

Solution 2:

-keep class com.android.internal.telephony.ITelephony { *; }

Solution 3:

Follow these steps

  1. Download the ITelephony.aidl from android source repository.
  2. Rename the ITelephony.aidl to ITelephony.java
  3. put this file in your project src directory as /src/android/internal/telephony/ITelephony.java

It will work.

Post a Comment for "Problem With Rejecting Incoming Call"