Re: [android-developers] requestLocationUpdates / non-UI-thread / getMainLooper()

2010-10-01 Thread damodhar meshran
why u used loop update-location lister update location automatically On Wed, Sep 29, 2010 at 9:05 PM, Pent wrote: > Is there anything wrong with specifying the main thread looper to > handle messages about location update like this: > > lm.requestLocationUpdates( > LocationManager.GPS_PROVIDER,

[android-developers] requestLocationUpdates / non-UI-thread / getMainLooper()

2010-09-29 Thread Pent
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