WEB开发网
开发学院手机开发Android 开发 Android 2.1 的 intent 的 dialer 实例 阅读

Android 2.1 的 intent 的 dialer 实例

 2010-03-18 16:12:00 来源:WEB开发网   
核心提示:When set, a new task is always started to host the Activity for the Intent,regardless of whether there is already an existing task running the same thing.Becaus

When set, a new task is always started to host the Activity for the Intent,

regardless of whether there is already an existing task running the same thing.

Because the default system does not include graphical task management,

you should not use this flag unless you provide some way for a user to

return back to the tasks you have launched.

This flag is ignored if FLAG_ACTIVITY_NEW_TASK is not set.

See the Application Model documentation for more details on tasks.

Constant Value: 134217728 (0x08000000)

public static final int FLAG_ACTIVITY_NEW_TASK

If set, this activity will become the start of a new

task on this history stack. A task (from the activity that

started it to the next task activity) defines an atomic group

of activities that the user can move to. Tasks can be moved to

the foreground and background; all of the activities inside of a

particular task always remain in the same order. See the Application

Model documentation for more details on tasks.

This flag is generally used by activities that want to present

a "launcher" style behavior: they give the user a list of separate

things that can be done, which otherwise run completely independently

of the activity launching them.

When using this flag, if a task is already running for the activity you

are now starting, then a new activity will not be started; instead, the

current task will simply be brought to the front of the screen with the

state it was last in. See FLAG_ACTIVITY_MULTIPLE_TASK for a flag to disable this behavior.

This flag can not be used when the caller is requesting a result from the activity being launched.

Constant Value: 268435456 (0x10000000)

public static final int FLAG_ACTIVITY_NO_HISTORY

上一页  1 2 3 4 5 6 7  下一页

Tags:Android intent dialer

编辑录入:coldstar [复制链接] [打 印]
赞助商链接