Android – Making phone call – ACTION_CALL Intent
try { Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse("tel:+98765")); startActivity(intent); } catch (Exception e) { Log.e("Demo application", "Failed to invoke call", e); } Don’t forget to add this permission into the AndroidManifest.xml file: <uses-permission android:name="android.permission.CALL_PHONE"/> Note: If you forget to add this permission inside the AndroidManifest.xml file then below Exception may...