android action问题

yanhanyu62 2016-07-26 11:48:20
怎么看action的属性有哪些呢,我在sdk文档上没有找到诶。
就是类似android.intent.action.BOOT_COMPLETED这种属性。
求大大帮助呀~~
...全文
139 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
网易云捕 2016-07-26
  • 打赏
  • 举报
回复
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_PACKAGES_SUSPENDED Broadcast Action: Packages have been suspended. String ACTION_PACKAGES_UNSUSPENDED Broadcast Action: Packages have been unsuspended. 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 (for example, a component has been enabled or disabled). 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_PROCESS_TEXT Activity Action: Process a piece of text. 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_QUICK_VIEW Activity Action: Quick view the data. 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. String ACTION_SHOW_APP_INFO Activity Action: Launch an activity showing the app information. 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_USER_UNLOCKED Broadcast Action: Sent when the credential-encrypted private storage has become unlocked for the target user. 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 use WindowManager.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.
网易云捕 2016-07-26
  • 打赏
  • 举报
回复
https://developer.android.com/reference/android/content/Intent.html
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.
String	ACTION_ANSWER
Activity Action: Handle an incoming phone call.
String	ACTION_APPLICATION_PREFERENCES
An activity that provides a user interface for adjusting application preferences.
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 user 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_LOCKED_BOOT_COMPLETED
Broadcast Action: This is broadcast once, after the user has finished booting, but while still in the "locked" state.
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_AVAILABLE
Broadcast sent to the primary user when an associated managed profile has become available.
String	ACTION_MANAGED_PROFILE_REMOVED
Broadcast sent to the primary user when an associated managed profile is removed.
String	ACTION_MANAGED_PROFILE_UNAVAILABLE
Broadcast sent to the primary user when an associated managed profile has become unavailable.
String	ACTION_MANAGED_PROFILE_UNLOCKED
Broadcast sent to the primary user when the credential-encrypted private storage for an associated managed profile is unlocked.
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.
///

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧