Java tutorial
//package com.java2s; import android.app.Activity; import android.content.Intent; import android.net.Uri; public class Main { /** * Opens the dialer app with my number * @param activity the calling activity * @param phoneNumber the phone number to call */ public static void openPhoneDialer(Activity activity, String phoneNumber) { Intent phoneIntent = new Intent(Intent.ACTION_DIAL); phoneIntent.setData(Uri.parse("tel:" + phoneNumber)); activity.startActivity(phoneIntent); } }