The link you provided goes to a design document. The technical information you need is here: http://developer.android.com/guide/topics/fundamentals.html
SJ On Sun, Nov 21, 2010 at 7:32 PM, Doug <beafd...@gmail.com> wrote: > I don't think there aren't events to capture for task foregrounding > and backgrounding. An individual activity can of course know when it > is being paused and stopped, but under normal circumstances the > activity doesn't always know why. > > What is it that you need to do differently if the task gets > backgrounded then comes back? > > Doug > > On Nov 19, 7:32 am, Some Coder <somecoder...@gmail.com> wrote: >> Hi, >> >> I'm trying to write some initialization code for my app which >> differentiates between the cases when it it launched from scratch and >> when it it is resumed (i.e. the user launches the app, hits the home >> button, starts another task, then at some later time navigates back to >> my app). From the doc: >> >> http://developer.android.com/guide/practices/ui_guidelines/activity_t... >> >> It looks like what I want to do is to detect when the "Task" for my >> application is resumed. >> >> What is the cleanest way to do this? Is there an API for monitoring >> Task state? >> >> Any info would be much appreciated. >> >> -D > > -- > 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 -- 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