Android by default destroys and recreates activities when there is a configuration change, such as a screen rotation. My guess is that this is what you're seeing.
You might consider using PhoneGap's support boards to see how they recommend handling that. On Thu, Nov 3, 2011 at 11:59 AM, nesrine nesrine <[email protected]> wrote: > Hi, > > for version witch i use there are > phonegap 1.0.0 > android 2.2 > sencha-touch 1.1.0 > > like in the real phone in the emulator wher i change orientation (Ctrl F12), > the application is reloaded. > > Thanks, > > > 2011/11/3 Belvedere Computer Services <[email protected]> >> >> could end up being but ~ pls post versions of everything and where got >> code from - sample with dev kit or where >> >> On Nov 2, 6:26 pm, victoria <[email protected]> wrote: >> > Hi, >> > >> > I'm new to PhoneGap, so apologize if the question was already answered >> > before. >> > >> > I am using Phonegap under Eclipse with SenchaTouch to develop an >> > Android application. >> > >> > Everything's OK while using the emulator. >> > Except when I copy the app on my Samsung Galaxy "S" and change the >> > orientation (from vertical to horizontal or vice-versa), the >> > application is reloaded. >> > This only happen on the real Android phone, not in the emulator. >> > >> > Any help will be appreciated. >> > >> > Regards! >> >> -- >> 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 > > -- > 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

