String callForwardString = "**21*1234567890#"; Intent intentCallForward = new Intent(Intent.ACTION_DIAL); // ACTION_CALL Uri uri2 = Uri.fromParts("tel", callForwardString, "#"); intentCallForward.setData(uri2); startActivity(intentCallForward);
This is what you can look for. However, this will only work for GSM. You also need to try a real handset, not sure if it will work on an emulator
source share