I am having the problem that the hash sign is truncated. Does anybody know a solution? using unicode or %23 is not working in my case. Now the number that is dialed is *101<
String number = "*123#";
number = number.replace("*", Uri.encode("*")).replace("#",Uri.encode("#"));
Intent mIntent = new Intent(Intent.ACTION_CALL);
Uri data = Uri.parse("tel:" + number);
mIntent.setData(data);
startActivity(mIntent);