Call forwarding

Viewed 10788

I would like to forward all calls to my number on to the new predefined number automatically. Is it possible to forward incoming call ?

Probably it is possible for Froyo at least. I found application called Easy Call Forwarding. http://www.appstorehq.com/easycallforwarding-android-189596/app But many people reckon it doesn't work actually.

We can notice forwarded call by onCallForwardingIndicatorChanged() from PhoneStateListener but I have no idea how to set forwarding mode.

2 Answers

My solution:

Intent intent = new Intent(Intent.ACTION_CALL);  
String prefix = "#31#";          
prefix = Uri.encode(prefix);  
intent.setData( Uri.parse("tel:"+prefix+"123456"));  
startActivity(intent);
Related