public abstract class

CellLocation

extends Object
java.lang.Object
   ↳ android.telephony.CellLocation

Class Overview

Abstract class that represents the location of the device. Currently the only subclass is GsmCellLocation.

Known Direct Subclasses

Summary

Public Constructors

CellLocation()

Public Methods

static CellLocation getEmpty()
Return a new CellLocation object representing an unknown location.
static void requestLocationUpdate()
Request an update of the current location.

Methods inherited from class java.lang.Object

Public Constructors

public CellLocation()

Public Methods

public static CellLocation getEmpty()

Return a new CellLocation object representing an unknown location.

public static void requestLocationUpdate()

Request an update of the current location. If the location has changed, a broadcast will be sent to everyone registered with LISTEN_CELL_LOCATION.