Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; import android.net.Uri; public class Main { public static void dial(Context context, String number) { Intent intent = new Intent(Intent.ACTION_DIAL); intent.setData(Uri.parse("tel:" + number)); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(intent); } }