Hi I'm making an application to automate/activate call forwarding via sms all are working except of parsing some characters for the call forwarding code..
this is my code to execute the call forwarding code which is documented here: http://en.wikipedia.org/wiki/Call_forwarding#Keypad_codes
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:"+Uri.encode("#")+Uri.encode("#")+"21"+Uri.encode("#")));
((Intent)callIntent).addFlags(268435456);
this.context.startActivity((Intent)callIntent);
the code to cancel the call is ##21# but my application always got an error and looks like it cannot read my command as posted above but if I will dial it manually it is fine..