How do I call a number ending with \'#\' sign using android dialer?
My code is as follows,
EditText firstNumber; Button btnAdd; @Override protected voi
This is how you call a number ending with '#' using android dialer. You need to encode and then parse.
Try the below code,
String text = et.getText().toString(); Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + Uri.encode("*221*" + text + "#"))); startActivity(intent);