Question

I just wanted to know the correct way of fetching the tower location in android... is it possible for us to get the location co-ordinates of the tower from LAC (Location Area Code ) and CID(Cell ID)??

//This is how i am fetching the CID and LAC

GsmCellLocation gsmCellLocation = (GsmCellLocation) telephonyManager.getCellLocation();
gsmCellLocation.getCid();
gsmCellLocation.getLac();

Now by following this way can i get the location co-ordinates of the tower??

Était-ce utile?

La solution

You can get the cid of the cell tower and try to get the location from some location providers.

For example, The Google Maps GeoLocation API.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top