문제

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??

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top