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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to