Shrishail
- Forum posts: 2
Jul 25, 2013, 7:16:57 AM via Website
Jul 25, 2013 7:16:57 AM via Website
CallBlocking: I want to show response as CALL WAITING instead of ending to the caller added to black list. Below is the piece of code. How to change to call waiting instead of ending call as shown in bold
public class CallReceiver extends BroadcastReceiver
{
..
..
@Override
public void onReceive(Context context, Intent intent)
{
..
..
..
com.android.internal.telephony.ITelephony telephonyServiceTmp = (ITelephony) m.invoke(tm);
telephonyServiceTmp.endCall();
public class CallReceiver extends BroadcastReceiver
{
..
..
@Override
public void onReceive(Context context, Intent intent)
{
..
..
..
com.android.internal.telephony.ITelephony telephonyServiceTmp = (ITelephony) m.invoke(tm);
telephonyServiceTmp.endCall();
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.