Thanks... I think I understand the lifecycle.

And forgive me for continuing to push the keyboard/rotation issue.  I
am having trouble understanding the logical reasoning for designing
Android where the app has to be re-created just to enter text (due to
the lack of a virtual keyboard and subsequent need to rotate a screen
to access a physical one).  Any complex app where several screens are
used to navigate a hierarchy of displays and user input will find it
extremely difficult to recreate that workflow of steps after a simple
text entry.

It seems there is some technical restriction internal to Android that
prevents it from just repainting screens after a rotation... unlike
the return from an external activity where the originating activity
remains intact.  What is the reasoning behind the design for screen
rotation forcing an activity recreate while a return from another
activity doesn't?


On Oct 7, 5:20 pm, hackbod <[EMAIL PROTECTED]> wrote:
> On Oct 7, 1:51 pm, Rmac <[EMAIL PROTECTED]> wrote:
>
> > My testing shows starting an external activity and then returning via
> > the back key only calls onResume, not onCreate.  The screen
> > orientation change calls both onCreate and onResume on the originating
> > activity.  It seems odd (maybe a design flaw, grin) that starting
> > another activity which in essence leaves my app causes less disruption
> > to the original activity than a process that rotates the screen while
> > I am STILL in my app.
>
> No, it is behaving exactly as desired, the previous activity does not
> need to be re-created unless its process has to be killed while it is
> in the background in order to use its memory elsewhere.
>
> This is a fundamental part of the activity/application lifecycle on
> Android:http://code.google.com/android/intro/lifecycle.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to