Reputation: 111
I want open function call phone of android but don't set phone number default as
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:09340125465"));
startActivity(callIntent);
I want to open call phone and after input phone number.
Hope you me. Thanks.
Upvotes: 1
Views: 249
Reputation: 16398
Use this code:
Intent callIntent = new Intent(Intent.ACTION_DIAL);
callIntent.setData(Uri.parse("tel:"));
startActivity(callIntent);
Upvotes: 1