Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static void callPhone(Context ctx, String phoneNumber) { if (ctx == null) { return; } if (phoneNumber == null || phoneNumber.isEmpty()) { return; } Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phoneNumber)); // ctx.startActivity(intent); } }