Hey guys,

I'm just starting to refine my first Android application and I was
wondering if you could help me with a couple of general issues I'm
having.

1. State

Honestly, I haven't really done too much research here except for
looking at the Activity/SubActivity stuff (that's how most of my
interaction is driven) within the google dev sight. Basically, I was
wondering if anyone had a reference to a good article/tutorial about
how to manage the state of the application when I user exits, hits
'home', answers a call, etc. Currently, my app pops all the way out to
my main activity whenever the user moves from the app.

2. Activity Lifecycle

I'm also a little confused with how the Activities get used/recycled.
It seems like every time I call an activity it calls onCreate, no
matter what, even if the activity has already been created or is
static. Is there a way to "hide" activities instead of reinflating
layouts every time something is called?

Thanks for all your help!

Evan

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