The COARSE and FINE will both be the same if only one location service
is available, also they will be null if no location service is
available. What I do is create both, then test to see if they are
equal and if so, null one out before starting the listeners. One
problem that could result in this method is if your app is long lived
and started indoors (network or no location service), then the user
ventures outside where GPS is available. If you expect this type of
usage then you'll have to be checking periodically.

-John Coryat

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