Android show dialpad without manifest permissions
android, android-manifest, android-permissions
Solution
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.
Problem
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?