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

Android 2.1 的 intent 的 dialer 实例

 2010-03-18 16:12:00 来源:WEB开发网   
核心提示:If set, the new activity is not kept in the history stack.Constant Value: 1073741824 (0x40000000)public static final int FLAG_ACTIVITY_PREVIOUS_IS_TOPIf set and

If set, the new activity is not kept in the history stack.

Constant Value: 1073741824 (0x40000000)

public static final int FLAG_ACTIVITY_PREVIOUS_IS_TOP

If set and this intent is being used to launch a new activity

from an existing one, the current activity will not be counted

as the top activity for deciding whether the new intent should be

delivered to the top instead of starting a new one. The previous

activity will be used as the top, with the assumption being that

the current activity will finish itself immediately.

Constant Value: 16777216 (0x01000000)

public static final int FLAG_ACTIVITY_RESET_TASK_IF_NEEDED

If set, and this activity is either being started in a new task or

bringing to the top an existing task, then it will be launched as

the front door of the task. This will result in the application of

any affinities needed to have that task in the proper state

(either moving activities to or from it), or simply resetting that

task to its initial state if needed.

Constant Value: 2097152 (0x00200000)

public static final int FLAG_ACTIVITY_SINGLE_TOP

If set, the activity will not be launched if it is

already running at the top of the history stack.

Constant Value: 536870912 (0x20000000)

public static final int FLAG_DEBUG_LOG_RESOLUTION

A flag you can enable for debugging: when set, log messages

will be printed during the resolution of this intent to show

you what has been found to create the final resolved list.

Constant Value: 8 (0x00000008)

public static final int FLAG_FROM_BACKGROUND

Can be set by the caller to indicate that this Intent is

coming from a background operation, not from direct user interaction.

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

Tags:Android intent dialer

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