public class CellInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cellId |
static java.lang.String |
lac |
static java.lang.String |
mcc |
static java.lang.String |
mnc |
static int |
signal |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
static boolean |
isSupported() |
static double[] |
toCoordinates()
Converts the current cellId and lac into the latitude and longitude.
|
static void |
update() |
public static java.lang.String cellId
public static java.lang.String mnc
public static java.lang.String mcc
public static java.lang.String lac
public static int signal
public static void update()
protected void finalize()
finalize
in class java.lang.Object
public static boolean isSupported()
public static double[] toCoordinates() throws java.lang.Exception
update
method.
This method requires direct connection to the internet and uses the google mmap service.java.lang.Exception