Reputation: 897
I've searched in Google but have not found the answer? Can I execute phone call from my own application. Imagine we have activity with EditText and Button. Can I call to the number typed in EditText after pressing the Button? Is it real? In what way?
Upvotes: 0
Views: 354
Reputation: 24820
Use this code.
Intent callIntent = new Intent(Intent.ACTION_DIAL);
callIntent.setData(Uri.parse("tel:98498489484"));
startActivity(callIntent);
Upvotes: 1