Android Network Information Get getNetworkType(TelephonyManager tm)

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

Description

get Network Type

Declaration

public static int getNetworkType(TelephonyManager tm) 

Method Source Code

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

public class Main {
    public static int getNetworkType(TelephonyManager tm) {// int
        return tm.getNetworkType();
    }/*from www  .  ja  va  2s.  c  o m*/
}

Related

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