This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Android and the fly likes Android application lifecycle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android application lifecycle" Watch "Android application lifecycle" New topic
Author

Android application lifecycle

Derek Cram
Greenhorn

Joined: Mar 08, 2009
Posts: 5
Hi Ed,

Do you detail and give example of the Android service/activity lifecycle in your book ?
I find the "singleTop", "singleTask" very confusing in Android. I still don't understand how to have 2 activities in background and put them on front when needed instead of create a new instance.

Cheers.
Ed Burnette
Author
Ranch Hand

Joined: Jun 10, 2003
Posts: 142
I cover the application/activity lifecycle but not the service lifecycle. And only the simple things, not singleTop and singleTask, sorry. I haven't found a use for them yet.


Ed Burnette, Author of Hello Android
Blog: ZDNet's Dev Connection - Twitter: @eburnette
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Android application lifecycle
 
Similar Threads
Android sources of information - twitter / RSS / blog feeds etc?
Convert code written with Netbeans for JME to Adroid VM compatible code
Not much Android in the book. Ok, so where so we go.
Java on Android - Most common errors and pitfalls?
How can i write in the response through viewhandler? Or even another solution...