Android Network Information Get getLine1Number(TelephonyManager tm)

Here you can find the source of getLine1Number(TelephonyManager tm)

Description

get Line Number

Declaration

public static String getLine1Number(TelephonyManager tm) 

Method Source Code

//package com.java2s;
import android.telephony.TelephonyManager;

public class Main {
    public static String getLine1Number(TelephonyManager tm) {// String
        return tm.getLine1Number();
    }//from  ww  w. jav  a  2  s.  c om
}

Related

  1. getNetworkInfo(Context context)
  2. getProvidersName(Context context)
  3. getCallState(TelephonyManager tm)
  4. getDeviceId(TelephonyManager tm)
  5. getDeviceSoftwareVersion(TelephonyManager tm)
  6. getNetworkCountryIso(TelephonyManager tm)
  7. getNetworkOperator(TelephonyManager tm)
  8. getNetworkOperatorName(TelephonyManager tm)
  9. getNetworkType(TelephonyManager tm)