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 showViewDial(String phoneNumber, Activity activity) { Intent intent = new Intent(); intent.setAction(Intent.ACTION_DIAL); intent.setData(Uri.parse("tel:" + phoneNumber)); activity.startActivity(intent); } }