public final class IntentConstants extends Object
Intent-related constants used in
the system, including the actions, entities, and flags contained in the
intents passed to methods for starting an ability.
In the description below, a Page, Service, or Data ability indicates an ability using the respective template, whereas the ability alone indicates an ability using any type of templates.
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
ACTION_APPLICATION_DETAILS_SETTINGS |
Indicates the action of starting a Page ability that displays details of a specified application.
|
static String |
ACTION_CHOOSE |
Indicates the action of starting a Page ability for opening contacts or pictures.
|
static String |
ACTION_DIAL |
Indicates the action of starting a Page ability that displays a keypad.
|
static String |
ACTION_DISMISS_ALARM |
Indicates the action of starting a Page ability for deleting an alarm clock.
|
static String |
ACTION_DISMISS_TIMER |
Indicates the action of starting a Page ability for dismissing a timer.
|
static String |
ACTION_EDIT_DATA |
Indicates the action of editing data.
|
static String |
ACTION_FILE_SELECT |
Indicates the action of select file.
|
static String |
ACTION_HIDISK_CHOOSE |
Indicates the action of starting a Page ability for opening hidisk.
|
static String |
ACTION_HIDISK_CHOOSE_PATH |
Indicates the action of starting a Page ability for opening hidisk by path.
|
static String |
ACTION_HOME |
The definition of home action
|
static String |
ACTION_MANAGE_APPLICATIONS_SETTINGS |
Indicates the action of starting a Page ability that manages installed applications.
|
static String |
ACTION_SCAN_MEDIA_FILE |
Indicates the action of requesting the media scanner to scan files and adding the files to the media library.
|
static String |
ACTION_SEARCH |
Indicates the action of starting a Page ability for search.
|
static String |
ACTION_SELECT |
Indicates the action of showing the application selection dialog box.
|
static String |
ACTION_SEND_DATA |
Indicates the action of sending a single data record.
|
static String |
ACTION_SEND_MULTIPLE_DATA |
Indicates the action of sending multiple data records.
|
static String |
ACTION_SEND_SMS |
Indicates the action of starting a Page ability for sending a sms.
|
static String |
ACTION_SET_ALARM |
Indicates the action of starting a Page ability for setting an alarm clock.
|
static String |
ACTION_SHOW_ALARMS |
Indicates the action of starting a Page ability that displays all alarm
clocks.
|
static String |
ACTION_SNOOZE_ALARM |
Indicates the action of starting a Page ability for snoozing an alarm clock.
|
static String |
ACTION_VIEW_DATA |
Indicates the action of viewing data.
|
static String |
ACTION_WIRELESS_SETTINGS |
Indicates the action of starting a Page ability that provides wireless network settings, for example,
Wi-Fi options.
|
static String |
ENTITY_BROWSABLE |
Indicates the browser category.
|
static String |
ENTITY_DEFAULT |
Indicates the default entity, which is used if the entity is not specified.
|
static String |
ENTITY_HOME |
Indicates the home screen entity.
|
static String |
ENTITY_VOICE |
Indicates the voice interaction entity.
|
static String |
INTENT_PARAMS_INTENT |
Indicates the choices you will show with
#ACTION_PICKER. |
static String |
INTENT_PARAMS_TITLE |
Indicates the CharSequence dialog title when used with a
#ACTION_PICKER. |
static String |
PARAMS_STREAM |
Indicates the URI holding a stream of data associated with the Intent when used with a
ACTION_SEND_DATA. |
public static final String ACTION_APPLICATION_DETAILS_SETTINGS
You must specify the application bundle name in the package attribute of the Intent
containing this action.
public static final String ACTION_CHOOSE
public static final String ACTION_DIAL
public static final String ACTION_DISMISS_ALARM
public static final String ACTION_DISMISS_TIMER
public static final String ACTION_EDIT_DATA
public static final String ACTION_FILE_SELECT
public static final String ACTION_HIDISK_CHOOSE
public static final String ACTION_HIDISK_CHOOSE_PATH
public static final String ACTION_MANAGE_APPLICATIONS_SETTINGS
public static final String ACTION_SCAN_MEDIA_FILE
public static final String ACTION_SEARCH
public static final String ACTION_SELECT
public static final String ACTION_SEND_DATA
public static final String ACTION_SEND_MULTIPLE_DATA
public static final String ACTION_SEND_SMS
public static final String ACTION_SET_ALARM
public static final String ACTION_SHOW_ALARMS
public static final String ACTION_SNOOZE_ALARM
public static final String ACTION_VIEW_DATA
public static final String ACTION_WIRELESS_SETTINGS
public static final String ENTITY_BROWSABLE
public static final String ENTITY_DEFAULT
public static final String ENTITY_HOME
public static final String ENTITY_VOICE
public static final String INTENT_PARAMS_INTENT
#ACTION_PICKER.public static final String INTENT_PARAMS_TITLE
#ACTION_PICKER.public static final String PARAMS_STREAM
ACTION_SEND_DATA.