Java tutorial
//package com.java2s; //License from project: Apache License import android.content.Intent; import android.net.Uri; import android.support.annotation.NonNull; public class Main { @NonNull public static Intent openDialer(@NonNull String number) { return new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + number)); } }