Users are complaining about call phone permission in Google Play. How can I show the Android dial pad with pre-populated number from my application without needing permission in the manifest?
Instead of using Intent.ACTION_CALL or Intent.ACTION_DIAL do the following:
Intent callIntent = new Intent(Intent.ACTION_VIEW);
callIntent.setData(Uri.parse("tel:0123456789"));
startActivity(callIntent);
This will open up the standard Android dial pad with the given number. This way you don't need to use the permissions CALL_PHONE or DIAL. No modification of the manifest.xml is needed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With