Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.text.TextUtils; public class Main { public static void makeingCalls(Context context, String phoneNum) { if (TextUtils.isEmpty(phoneNum)) { return; } Intent phoneIntent = new Intent("android.intent.action.CALL", Uri.parse("tel:" + phoneNum)); phoneIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(phoneIntent); } }