Telephonymanager:
1. public String getdevicesoftwareversion (): Software version number, EX:IMEI/SV for GSM phones
2. Public Stringgetdeviceid (): Unique Device ID, for example,the IMEI for GSM phones
3. Public celllocationgetcelllocation () : The current location of the device
4. Public List<neighboringcellinfo>getneighboringcellinfo () : Neighboring cell list info of the device
5. Public int getphonetype () : Types available: PHONE_TYPE_NONE,
PHONE_TYPE_GSM
6. Public Stringgetnetworkoperatorname () : alphabetic name of the current registered operator
7. Public Boolean isnetworkroaming (): Phone is roaming
8. Public Stringgetnetworkcountryiso () : ISO Country code equivilent of the current registered Operator ' s MCC (Mobile country Code)
9. PUBLIC&NBSP; < Span style= "color: #ff0000;" >int getnetworktype () : Four types of network: network_type_unknown,
network_type_gprs,
network_type_edge,
network_type_umts
10. public string Getnetworktypename (): "UNKNOWN", "GPRS", "EDGE", "UMTS"
11. public int getsimstate () : sim_state_unknown,
sim_state_absent,
sim_state_pin_required,
sim_state_puk_required,
sim_state_network_locked,
sim_ State_ready
12. public string getsimoperator (): &NBSP;MCC+MNC (Mobile Country code + mobile network Code) of the provider of the SIM. 5 or 6 decimal digits
13 . public string getsimoperatorname () : service Provider Name (SPN)
< span class= "kw" >14. public string getsimcountryiso () : iso Country code equivalent for The SIM provider ' s country code
< span class= "kw" >15. public string getsimserialnumber () : serial number of the SIM
< span class= "kw" >16. Public string Getsubscriberid () : unique subscriber ID, for example, the IMSI for a GSM phone
< span class= "kw" >17. public string getline1number (): phone number string for line 1, for example, the MSISDN for a GSM phone
< span class= "kw" >18.
< span class= "kw" >19. < span class= "kw" >public string getvoicemailnumber (): voice mail number
< span class= "kw" >20. public string getvoicemailalphatag (): alphabetic Identifier associated with the voice mail number
< span class= "kw" >21. PUBLIC&NBSP; span class= "kw" >int getcallstate () : call _state_idle, call_state_ringing, CALL_STATE_OFFHOOK&NBSP;
< span class= "kw" >< span class= "kw" >22. PUBLIC&NBSP; int getdataactivity () : data_activity_none,
data_activity_in,
data_activity_out,
data_activity_inout
. public int getdatastate () DATA_DISCONNECTED,
DATA_CONNECTING,
DATA_CONNECTED,
: DATA_SUSPENDED
Gsmcelllocation:
1. Public int Getlac ()
2. public int getcid ()
Neighboringcellinfo:
< span class= "kw" >1. PUBLIC&NBSP; int getrssi () : received signal strength in "ASU", Ranging from 0-31, or Unknown_rssi if UNKNOWN for GSM, dBm = -113 + 2*asu, 0 means " -113 dBm or less" and means "51 DBm or greater "
2. Public int getcid () : Cell ID, unknown_cid if UNKNOWN, 0xFFFFFFFF max legal value
Android-telephony API 1.5