How to open number dialer pad programmatically in android?

Addon_Android picture Addon_Android · Nov 9, 2012 · Viewed 26.9k times · Source

I want to display Number Dial Keypad (Phone Call) Programmatically on button click in android. Code is available for direct number dialing but I only need to show the dial keypad when I click the Button.

Answer

Kishore Kumar picture Kishore Kumar · Jul 15, 2015
Intent intent = new Intent(Intent.ACTION_DIAL);
intent.setData(Uri.parse("tel:9999999999"));
startActivity(intent); 

For this we don't need to add any permission in AndroidManifest.xml