Android Network Information Get getCallState(TelephonyManager tm)

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

Description

get Call State

Declaration

public static int getCallState(TelephonyManager tm) 

Method Source Code

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

public class Main {
    public static int getCallState(TelephonyManager tm) {// int
        return tm.getCallState();
    }/* w w w.  j  ava 2  s  .c  o m*/
}

Related

  1. getNetworkInfo(Context context)
  2. getNetworkInfo(Context context)
  3. getProvidersName(Context context)
  4. getDeviceId(TelephonyManager tm)
  5. getDeviceSoftwareVersion(TelephonyManager tm)
  6. getLine1Number(TelephonyManager tm)
  7. getNetworkCountryIso(TelephonyManager tm)