Guillaume,

This is a really excellent question and there's a document written to
cover the application model that talks about tasks that you can read at
http://code.google.com/android/intro/appmodel.html . After looking over
over that, please come back with any specific questions you have.

In terms of launch modes and Intent flags, remember, most of the time, the
default behavior is what you want. Try without setting launch modes or
flags and only then if it doesn't work as you want, start worrying about
these things.

Cheers,
Justin
Android Team @ Google

Original Message Follows:
------------------------
From: Guillaume Perrot <[EMAIL PROTECTED]>
Subject: [android-developers] What the heck is a "task" ?
Date: Wed, 10 Sep 2008 08:17:45 -0700 (PDT)

In several parts of the API is mentioned the term "task":
* the singleTask activity launch mode,
* a flag to use with intent,
* other activity manifest flags
* getTaskID in Activity
* ActivityManager.RunningTaskInfo
and so on...

I checked the documentation but I didn't found any clear definition of
what is exactly a task.

I have several issues with relaunching activities with the desired
state and onNewIntent not called and I think it's because I don't
understand what is a task and how to manage this...

Someone can provide a definition a task and how to manage them ?



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