can you please provide some code snippet, so i can understand.

B'cos without using

Location location =
locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);

this line of code
how can i get the latitude and longitude ?

(Note : I don't want to use getLastKnownLocation() method)

Thank you.

On Wed, Aug 22, 2012 at 7:52 PM, TreKing <[email protected]> wrote:

> On Wed, Aug 22, 2012 at 2:17 AM, Rajan <[email protected]> wrote:
>
>> i want accurate & refreshed location detail every time (means, @ App
>> start time, @ App resume time, @ restart time etc.)
>>
>> how it is possible?
>>
>
> Use the GPS provider and wait patiently for it to find the user's
> location, handling the cases when it takes a long time or fails completely.
>
>
> -------------------------------------------------------------------------------------------------
> 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
>



-- 
.

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