Hmm...

I may be wrong but I think the activity itself is destroyed and recreated.
At least, that is what I found in another thread in this group:

Greg says:
*"When you change orientation your Activity is destroyed and then
re-created"

*
http://groups.google.com/group/android-developers/browse_thread/thread/75dc91441a151039?pli=1

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Tue, Nov 3, 2009 at 12:27 PM, niko20 <[email protected]> wrote:

> Just to clarify, your "app" is not destroyed and recreated, but
> rather, any "views" your app has. The app itself could continue to
> function, for example, if you had a thread running, it will remain
> running.
>
> At least I believe that is the case.
>
> -niko
>
> On Nov 3, 12:44 pm, Justin Anderson <[email protected]> wrote:
> > Remember that when an orientation change occurs your app is completely
> > destroyed and then recreated.
> >
> > Are you forgetting to set the text inside the textview?
> >
> > Can't really help out too much without seeing some code....
> >
> > ----------------------------------------------------------------------
> > There are only 10 types of people in the world...
> > Those who know binary and those who don't.
> > ----------------------------------------------------------------------
> >
> > On Tue, Nov 3, 2009 at 10:51 AM, Veyette Software <
> [email protected]>wrote:
> >
> > > Any help?
> >
> > > On Oct 23, 10:09 am, Veyette Software <[email protected]> wrote:
> > > > I have 2 timePickers declared in the xml layout file and defined in
> an
> > > > onClick method for a submit button. When I run the app and rotate the
> > > > screen, the hour text box in both timePickers goes blank. It still
> > > > remembers the number (if I select the down arrow next to it, it goes
> > > > to one less hour then what it showed before rotated), but does not
> > > > show any number until the user changes it. Any ideas?
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Beginners" group.
> > > To post to this group, send email to
> [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]<android-beginners%[email protected]>
> <android-beginners%[email protected]<android-beginners%[email protected]>
> >
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-beginners?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to