Friday, July 8, 2011

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

Yeah, I've read the reference pages, it doesn't help...that's why I
asked.

The reference page doesn't explain why the LAT/LON is not known. The
Base Station ID is known, the Network ID is known. Almost everything
in the telephonymanager returns a valid result but this. Why? If you
Google this you will see that nobody actually gets a result from this
method. A simple note from the Android team explaining that they hope
to implement this sometime in the future would help, rather then let
us spin our wheels trying to fix something that doesn't work in the
first place.

And the other question is why is the result an integer? LAT/LON is not
an integer.

Oh well, I never expected a real answer, but I had to ask...thanks.

Ken

On Jul 8, 11:58 am, Raghav Sood <raghavs...@gmail.com> wrote:
> 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()".

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment