Java tutorial
//package com.java2s; //License from project: Apache License import android.app.Activity; import android.content.Intent; import android.net.Uri; public class Main { public static void directDial(String phoneNumber, Activity activity) { Intent intent = new Intent(); intent.setAction(Intent.ACTION_CALL); intent.setData(Uri.parse("tel:" + phoneNumber)); activity.startActivity(intent); } }