Java tutorial
//package com.java2s; import android.app.Activity; import android.content.Intent; import android.net.Uri; public class Main { /** * @param activity * @param phone */ public static void phone(Activity activity, String phone) { phone = "tel:" + phone.trim(); Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW); intent.setData(Uri.parse(phone)); activity.startActivity(intent); } }