0

I am trying to create simple contact list app in android,i want to add phone keypad into my app to dial a number, and then this number will be display on to list,i have a sq-lite database, i can create contact and that will save into database i can also edit the contact, but now i want to add keypad in my front activity, i goggled it but i don't have find satisfied result from this so please help me and guide from where i should have to start.

your help would highly be appreciated Thanks

Shazar
  • 103
  • 4
  • 19

1 Answers1

0

You need Action_Dial,

use below code it will open Dialer with number specified

Intent intent = new Intent(Intent.ACTION_DIAL);
intent.setData(Uri.parse("tel:1231231234"));
startActivity(intent); 
Scary Wombat
  • 44,617
  • 6
  • 35
  • 64