Hi, You are welcome!
Regards On Jul 26, 10:18 am, JCC <[email protected]> wrote: > Thanks a lot this onRetainNonConfigurationInstance worked for me. Not > on the planned way like google apis but worked as a "flag" to know > when it was flipped. > thanks Ibendlin I tried that aswell. > > On 23 jul, 02:08, gjs <[email protected]> wrote: > > > > > > > > > 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 <[email protected]> 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 [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

