I came across this Android phone dialer tip yesterday. If you want to make a phone call from an Android application, all you have to do is create a new Intent, either an
Intent.ACTION_DIAL (to start the call) or
Intent.ACTION_CALL (to place the call).
Here are the three lines of source code you need to get started:
Intent dialIntent = new Intent(); dialIntent.setAction(Intent.ACTION_DIAL); dialIntent.setData(Uri.parse("tel:8675309"));
This website is a little one-man operation. If you found this information helpful, I’d appreciate it if you would share it.