A Guide to Mobile and Web Technology(LAMP)

The following code shows how to make phone calls (ie) launch the default phone dialer with the specified number in Android.

String data = "012034034"; //Phone Number

Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse(data));

this.startActivity(intent);

Leave a comment