call a number from our application
How to call a number from our application? Barbara Jones 2035 15 Nov 2014 call a number from our application
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:123456789"));
startActivity(callIntent);
And remember add this CALL_PHONE permission to your Manifest:
<uses-permission android:name="android.permission.CALL_PHONE" />