Java tutorial
//package com.java2s; import android.content.Intent; import android.net.Uri; public class Main { public static Intent getDialIntent(String phoneNumber) { Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + phoneNumber)); return intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); } }