Android Network Information Get getPhoneType(TelephonyManager tm)

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

Description

get Phone Type

Declaration

public static int getPhoneType(TelephonyManager tm) 

Method Source Code

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

public class Main {
    public static int getPhoneType(TelephonyManager tm) {// int
        return tm.getPhoneType();
    }//  ww w.j  a va2  s.c o  m
}

Related

  1. getLine1Number(TelephonyManager tm)
  2. getNetworkCountryIso(TelephonyManager tm)
  3. getNetworkOperator(TelephonyManager tm)
  4. getNetworkOperatorName(TelephonyManager tm)
  5. getNetworkType(TelephonyManager tm)
  6. getSimCountryIso(TelephonyManager tm)
  7. getSimOperator(TelephonyManager tm)
  8. getSimOperatorName(TelephonyManager tm)
  9. getSimSerialNumber(TelephonyManager tm)