Java tutorial
//package com.java2s; import android.content.Context; import android.provider.Settings; public class Main { public static String getServicePhoneNum(Context context) { String service_phone = Settings.System.getString(context.getContentResolver(), "phone_service_number"); return service_phone; } }