• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android application lifecycle

 
Derek Cram
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic