Shows the dialer with the number already entered. The user needs to tap the phone icon to make the call.
Intent callIntent = new Intent(Intent.ACTION_DIAL);
callIntent.setData(Uri.parse("tel:6677778888"));
startActivity(callIntent);
Starts the call and bypasses the dialer view.
Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:6677778888"));
startActivity(callIntent);
ACTION_CALL requires that you add this permission in the manifest:
<uses-permission android:name="android.permission.CALL_PHONE" />