On Wed, Oct 13, 2010 at 5:51 AM, A N K ! T <[email protected]> wrote:
> am trying to develop an app that show current location.
>
> but i am having one prob. my application is showing location on location
> change occur.
> but how to show location first time.
> i want to take location manually..not by onlocationchange Method in location
> manager
> wot to do?

There is no "current location" most of the time. For example, the GPS
radio is normally off, to save power. Please wait for the first fix to
arrive to your LocationListener.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

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