These features exist API level 5 onwards. You will receive Integer.MAX_VALUE
if the location is not known.
BTW it was the second result on Google when searching for "android
getBaseStationLatitude()".
For future reference: http://www.google.com/
On Sat, Jul 9, 2011 at 12:11 AM, Ken H wrote:
>
Does anyone know why getCellLocation() for cdma will not return the
cell site locations? If I use:
TelephonyManager tm = (TelephonyManager)
getSystemService(Context.TELEPHONY_SERVICE);
CdmaCellLocation cd = (CdmaCellLocation) tm.getCellLocation();
int cdmaLat = cd.getBaseStationLatitude();
int cdm
2 matches
Mail list logo