On Sat, Apr 23, 2011 at 2:46 AM, <[email protected]> wrote:

> I am getting recentLoc as null. Can you please help why it is coming null?
>

Can you please read the documentation for that function? It pretty clearly
and explicitly states when the return value will be null.


> If I am running the application for the first time, then how to get the
> first Location. THere is no API for the first location? We only have
> getLastKnownLocation()
>

What is "first location" if the device has not had an opportunity to
initialize the value that will be returned by "last known" location?

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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

Reply via email to