码迷,mamicode.com
首页 > 其他好文 > 详细

intent 支持的action 动作

时间:2015-01-30 15:01:51      阅读:308      评论:0      收藏:0      [点我收藏+]

标签:

String ACTION_AIRPLANE_MODE_CHANGED

Broadcast Action: The user has switched the phone into or out of Airplane Mode.

String ACTION_ALL_APPS Activity Action: List all available applications

Input: Nothing.

String ACTION_ANSWER Activity Action: Handle an incoming phone call.
String ACTION_APPLICATION_RESTRICTIONS_CHANGED Broadcast Action: Sent after application restrictions are changed.
String ACTION_APP_ERROR Activity Action: The user pressed the "Report" button in the crash/ANR dialog.
String ACTION_ASSIST Activity Action: Perform assist action.
String ACTION_ATTACH_DATA Used to indicate that some piece of data should be attached to some other place.
String ACTION_BATTERY_CHANGED Broadcast Action: This is a sticky broadcast containing the charging state, level, and other information about the battery.
String ACTION_BATTERY_LOW Broadcast Action: Indicates low battery condition on the device.
String ACTION_BATTERY_OKAY Broadcast Action: Indicates the battery is now okay after being low.
String ACTION_BOOT_COMPLETED Broadcast Action: This is broadcast once, after the system has finished booting.
String ACTION_BUG_REPORT Activity Action: Show activity for reporting a bug.
String ACTION_CALL Activity Action: Perform a call to someone specified by the data.
String ACTION_CALL_BUTTON Activity Action: The user pressed the "call" button to go to the dialer or other appropriate UI for placing a call.
String ACTION_CAMERA_BUTTON Broadcast Action: The "Camera Button" was pressed.
String ACTION_CHOOSER Activity Action: Display an activity chooser, allowing the user to pick what they want to before proceeding.
String ACTION_CLOSE_SYSTEM_DIALOGS Broadcast Action: This is broadcast when a user action should request a temporary system dialog to dismiss.
String ACTION_CONFIGURATION_CHANGED Broadcast Action: The current device Configuration (orientation, locale, etc) has changed.
String ACTION_CREATE_DOCUMENT Activity Action: Allow the user to create a new document.
String ACTION_CREATE_SHORTCUT Activity Action: Creates a shortcut.
String ACTION_DATE_CHANGED Broadcast Action: The date has changed.
String ACTION_DEFAULT A synonym for ACTION_VIEW, the "standard" action that is performed on a piece of data.
String ACTION_DELETE Activity Action: Delete the given data from its container.
String ACTION_DEVICE_STORAGE_LOW Broadcast Action: A sticky broadcast that indicates low memory condition on the device

This is a protected intent that can only be sent by the system.

String ACTION_DEVICE_STORAGE_OK Broadcast Action: Indicates low memory condition on the device no longer exists

This is a protected intent that can only be sent by the system.

String ACTION_DIAL Activity Action: Dial a number as specified by the data.
String ACTION_DOCK_EVENT Broadcast Action: A sticky broadcast for changes in the physical docking state of the device.
String ACTION_DREAMING_STARTED Broadcast Action: Sent after the system starts dreaming.
String ACTION_DREAMING_STOPPED Broadcast Action: Sent after the system stops dreaming.
String ACTION_EDIT Activity Action: Provide explicit editable access to the given data.
String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE Broadcast Action: Resources for a set of packages (which were previously unavailable) are currently available since the media on which they exist is available.
String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE Broadcast Action: Resources for a set of packages are currently unavailable since the media on which they exist is unavailable.
String ACTION_FACTORY_TEST Activity Action: Main entry point for factory tests.
String ACTION_GET_CONTENT Activity Action: Allow the user to select a particular kind of data and return it.
String ACTION_GET_RESTRICTION_ENTRIES Broadcast to a specific application to query any supported restrictions to impose on restricted users.
String ACTION_GTALK_SERVICE_CONNECTED Broadcast Action: A GTalk connection has been established.
String ACTION_GTALK_SERVICE_DISCONNECTED Broadcast Action: A GTalk connection has been disconnected.
String ACTION_HEADSET_PLUG Broadcast Action: Wired Headset plugged in or unplugged.
String ACTION_INPUT_METHOD_CHANGED Broadcast Action: An input method has been changed.
String ACTION_INSERT Activity Action: Insert an empty item into the given container.
String ACTION_INSERT_OR_EDIT Activity Action: Pick an existing item, or insert a new item, and then edit it.
String ACTION_INSTALL_PACKAGE Activity Action: Launch application installer.
String ACTION_LOCALE_CHANGED Broadcast Action: The current device‘s locale has changed.
String ACTION_MAIN Activity Action: Start as a main entry point, does not expect to receive data.
String ACTION_MANAGED_PROFILE_ADDED Broadcast sent to the primary user when an associated managed profile is added (the profile was created and is ready to be used).
String ACTION_MANAGED_PROFILE_REMOVED Broadcast sent to the primary user when an associated managed profile is removed.
String ACTION_MANAGE_NETWORK_USAGE Activity Action: Show settings for managing network data usage of a specific application.
String ACTION_MANAGE_PACKAGE_STORAGE Broadcast Action: Indicates low memory condition notification acknowledged by user and package management should be started.
String ACTION_MEDIA_BAD_REMOVAL Broadcast Action: External media was removed from SD card slot, but mount point was not unmounted.
String ACTION_MEDIA_BUTTON Broadcast Action: The "Media Button" was pressed.
String ACTION_MEDIA_CHECKING Broadcast Action: External media is present, and being disk-checked The path to the mount point for the checking media is contained in the Intent.mData field.
String ACTION_MEDIA_EJECT Broadcast Action: User has expressed the desire to remove the external storage media.
String ACTION_MEDIA_MOUNTED Broadcast Action: External media is present and mounted at its mount point.
String ACTION_MEDIA_NOFS Broadcast Action: External media is present, but is using an incompatible fs (or is blank) The path to the mount point for the checking media is contained in the Intent.mData field.
String ACTION_MEDIA_REMOVED Broadcast Action: External media has been removed.
String ACTION_MEDIA_SCANNER_FINISHED Broadcast Action: The media scanner has finished scanning a directory.
String ACTION_MEDIA_SCANNER_SCAN_FILE Broadcast Action: Request the media scanner to scan a file and add it to the media database.
String ACTION_MEDIA_SCANNER_STARTED Broadcast Action: The media scanner has started scanning a directory.
String ACTION_MEDIA_SHARED Broadcast Action: External media is unmounted because it is being shared via USB mass storage.
String ACTION_MEDIA_UNMOUNTABLE Broadcast Action: External media is present but cannot be mounted.
String ACTION_MEDIA_UNMOUNTED Broadcast Action: External media is present, but not mounted at its mount point.
String ACTION_MY_PACKAGE_REPLACED Broadcast Action: A new version of your application has been installed over an existing one.
String ACTION_NEW_OUTGOING_CALL Broadcast Action: An outgoing call is about to be placed.
String ACTION_OPEN_DOCUMENT Activity Action: Allow the user to select and return one or more existing documents.
String ACTION_OPEN_DOCUMENT_TREE Activity Action: Allow the user to pick a directory subtree.
String ACTION_PACKAGE_ADDED Broadcast Action: A new application package has been installed on the device.
String ACTION_PACKAGE_CHANGED Broadcast Action: An existing application package has been changed (e.g.
String ACTION_PACKAGE_DATA_CLEARED Broadcast Action: The user has cleared the data of a package.
String ACTION_PACKAGE_FIRST_LAUNCH Broadcast Action: Sent to the installer package of an application when that application is first launched (that is the first time it is moved out of the stopped state).
String ACTION_PACKAGE_FULLY_REMOVED Broadcast Action: An existing application package has been completely removed from the device.
String ACTION_PACKAGE_INSTALL This constant was deprecated in API level 14. This constant has never been used.
String ACTION_PACKAGE_NEEDS_VERIFICATION Broadcast Action: Sent to the system package verifier when a package needs to be verified.
String ACTION_PACKAGE_REMOVED Broadcast Action: An existing application package has been removed from the device.
String ACTION_PACKAGE_REPLACED Broadcast Action: A new version of an application package has been installed, replacing an existing version that was previously installed.
String ACTION_PACKAGE_RESTARTED Broadcast Action: The user has restarted a package, and all of its processes have been killed.
String ACTION_PACKAGE_VERIFIED Broadcast Action: Sent to the system package verifier when a package is verified.
String ACTION_PASTE Activity Action: Create a new item in the given container, initializing it from the current contents of the clipboard.
String ACTION_PICK Activity Action: Pick an item from the data, returning what was selected.
String ACTION_PICK_ACTIVITY Activity Action: Pick an activity given an intent, returning the class selected.
String ACTION_POWER_CONNECTED Broadcast Action: External power has been connected to the device.
String ACTION_POWER_DISCONNECTED Broadcast Action: External power has been removed from the device.
String ACTION_POWER_USAGE_SUMMARY Activity Action: Show power usage information to the user.
String ACTION_PROVIDER_CHANGED Broadcast Action: Some content providers have parts of their namespace where they publish new events or items that the user may be especially interested in.
String ACTION_QUICK_CLOCK Sent when the user taps on the clock widget in the system‘s "quick settings" area.
String ACTION_REBOOT Broadcast Action: Have the device reboot.
String ACTION_RUN Activity Action: Run the data, whatever that means.
String ACTION_SCREEN_OFF Broadcast Action: Sent when the device goes to sleep and becomes non-interactive.
String ACTION_SCREEN_ON Broadcast Action: Sent when the device wakes up and becomes interactive.
String ACTION_SEARCH Activity Action: Perform a search.
String ACTION_SEARCH_LONG_PRESS Activity Action: Start action associated with long pressing on the search key.
String ACTION_SEND Activity Action: Deliver some data to someone else.
String ACTION_SENDTO Activity Action: Send a message to someone specified by the data.
String ACTION_SEND_MULTIPLE Activity Action: Deliver multiple data to someone else.
String ACTION_SET_WALLPAPER Activity Action: Show settings for choosing wallpaper

Input: Nothing.

String ACTION_SHUTDOWN Broadcast Action: Device is shutting down.
String ACTION_SYNC Activity Action: Perform a data synchronization.
String ACTION_SYSTEM_TUTORIAL Activity Action: Start the platform-defined tutorial

Input: getStringExtra(SearchManager.QUERY) is the text to search for.

String ACTION_TIMEZONE_CHANGED Broadcast Action: The timezone has changed.
String ACTION_TIME_CHANGED Broadcast Action: The time was set.
String ACTION_TIME_TICK Broadcast Action: The current time has changed.
String ACTION_UID_REMOVED Broadcast Action: A user ID has been removed from the system.
String ACTION_UMS_CONNECTED This constant was deprecated in API level 14. replaced by android.os.storage.StorageEventListener
String ACTION_UMS_DISCONNECTED This constant was deprecated in API level 14. replaced by android.os.storage.StorageEventListener
String ACTION_UNINSTALL_PACKAGE Activity Action: Launch application uninstaller.
String ACTION_USER_BACKGROUND Sent when a user switch is happening, causing the process‘s user to be sent to the background.
String ACTION_USER_FOREGROUND Sent when a user switch is happening, causing the process‘s user to be brought to the foreground.
String ACTION_USER_INITIALIZE Sent the first time a user is starting, to allow system apps to perform one time initialization.
String ACTION_USER_PRESENT Broadcast Action: Sent when the user is present after device wakes up (e.g when the keyguard is gone).
String ACTION_VIEW Activity Action: Display the data to the user.
String ACTION_VOICE_COMMAND Activity Action: Start Voice Command.
String ACTION_WALLPAPER_CHANGED This constant was deprecated in API level 16. Modern applications should useWindowManager.LayoutParams.FLAG_SHOW_WALLPAPER to have the wallpaper shown behind their UI, rather than watching for this broadcast and rendering the wallpaper on their own.
String ACTION_WEB_SEARCH Activity Action: Perform a web search.

intent 支持的action 动作

标签:

原文地址:http://www.cnblogs.com/zooc/p/4262081.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!