why u used loop update-location lister update location automatically

On Wed, Sep 29, 2010 at 9:05 PM, Pent <[email protected]> wrote:

> Is there anything wrong with specifying the main thread looper to
> handle messages about location update like this:
>
> lm.requestLocationUpdates(
>  LocationManager.GPS_PROVIDER,
>  0L,
>  0L,
>  locListenerGPS,
>  Looper.getMainLooper()
> );
>
> (call is made from a non-UI thread)
>
> Am I going to start getting weird unexplicable errors in other places
> due to the looper voodoo ?
>
> Thanks,
>
> Pent
>
> --
> 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]<android-developers%[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