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 callByPhone(Context context, String phone) { if (TextUtils.isEmpty(phone)) { return; } Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phone)); context.startActivity(intent); } }