Re: [android-developers] CDMA getCellLocation() does not work

2011-07-08 Thread Raghav Sood
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: >

[android-developers] CDMA getCellLocation() does not work

2011-07-08 Thread Ken H
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