Hi,

For the GPS issue, to prevent it from starting & stopping on
orientation change in your Activity, you can implement LocationManager
in a Service then pass the Location objects back to the Activity. It
is a fairly convoluted affair to setup but it does work.

A simpler option - you might? also be able to maintain a reference to
the Location Manager object (or some other class that acts as a
container & encapsulates the LocationManager) through
onRetainNonConfigurationInstance() which is specifically provided for
handling orientation & other changes for the Activity.

I've done the former but no the latter.

Regards

On Jul 23, 1:29 am, JCC <banr...@gmail.com> wrote:
> Ok thanks, I fixed the data problem but still with the flip issue that
> it calls the GPS again. =( any suggestion would be much appreciated.

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