Reputation: 422
I am developing an UI for the voip project. I have designed a UI for the dialer screen. Is it possible to use default dialer screen in android project? If yes please provide a link to refer.
Upvotes: 0
Views: 156
Reputation: 1403
If you want to use default dialer of your phone just use below code
Intent intent = new Intent(Intent.ACTION_DIAL);
intent.setData(Uri.parse("tel:" + "1234567890"));
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
You have to mention the number on which you want to place the call. It will open default dialer screen
Upvotes: 1