I want to pass a number include “#” to the Android system’s dialer pad. Like the following code I used:
Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:#123456#"));
mContext.startActivity(intent);
But actually, the number displayed in the dialer pad is “123456”, the “#” has disappeared.
I can’t find what caused this problem, can anyone help me?
Give this a try