Broadcast receiver BroadcastReceiver in Android system

Source: Internet
Author: User

Android. provider. telephony. the broadcast Intent when SMS_RECEIVED receives the SMS. ACTION_AIRPLANE_MODE_CHANGED; // broadcast Intent when flight mode is disabled or enabled. ACTION_BATTERY_CHANGED; // The charging status, or the battery power change // The battery charging status and charge level change. You cannot receive this broadcast through the formation Declaration, only through Context. registerReceiver () registers Intent. ACTION_BATTERY_LOW; // indicates that the battery power is low. Intent. ACTION_BATTERY_OKAY; // indicates that the battery is sufficient, that is, Intent is broadcast when the battery power changes from low to full. ACTION_BOOT_COMPLETED; // after the system is started, this action is broadcast once (only once ). Intent. ACTION_CAMERA_BUTTON; // broadcast Intent that is triggered when you press the camera button (hardware button. ACTION_CLOSE_SYSTEM_DIALOGS; // when the screen times out to lock the screen, when the user presses the power button, long or short press (no matter whether the dialog box exists), to lock the screen, the android System Broadcasts the Intent message of this Action. ACTION_CONFIGURATION_CHANGED; // The broadcast that is triggered when the current device settings are changed (For details, refer to Configuration. java) Intent. ACTION_DATE_CHANGED; // This broadcast Intent is triggered when the device date changes. ACTION_DEVICE_STORAGE_LOW; // broadcast triggered when the device memory is insufficient. This broadcast can only be used by the system, and other apps are unavailable? Intent. ACTION_DEVICE_STORAGE_ OK; // broadcast sent when the device memory is not full enough. This broadcast can only be used by the system, and other apps are unavailable? Intent. ACTION_DOCK_EVENT; // The place where the broadcast is sent: frameworks \ base \ services \ java \ com \ android \ server \ DockObserver. java Intent. ACTION_EXTERNAL_APPLICATIONS_AVAILABLE; // broadcast (mobile refers to APP2SD) Intent sent after the mobile APP is completed. ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE; // The broadcast (mobile refers to APP2SD) Intent when the APP is being moved. ACTION_GTALK_SERVICE_CONNECTED; // broadcast Intent sent when a connection is established in Gtalk. ACTION_GTALK_SERVICE_DISCONNECTED; // broadcast Intent sent when Gtalk is disconnected. ACTION_HEADSET _ PLUG; // The broadcast Intent that is sent when the headset is inserted on the headphone port. ACTION_INPUT_METHOD_CHANGED; // broadcast Intent sent when the input method is changed. ACTION_LOCALE_CHANGED; // specifies the broadcast Intent that is sent when the current region of the device is changed. ACTION_MANAGE_PACKAGE_STORAGE; // Intent. ACTION_MEDIA_BAD_REMOVAL; // the SD card is not removed correctly (the SD card is removed correctly by setting -- SD card and device memory -- detaching the SD card), but the broadcast/broadcast sent when the SD card is removed: the expansion media (expansion card) has been removed from the SD card slot, but the mount point has not been removed (unmount) Intent. ACTION_MEDIA_BUTTON; // The broadcast triggered when the "Media Button" Button is pressed. If there is a "Media Button" Button (hardware Button) Int Ent. ACTION_MEDIA_CHECKING; // insert an external storage device. For example, when an SD card is inserted, the system checks the SD card and broadcasts it at this time? Intent. ACTION_MEDIA_EJECT; // The broadcast sent by the external large-capacity storage device (such as the SD card or mobile hard disk) has been unmounted. Will this broadcast be sent whether or not it is correctly uninstalled? // Broadcast: You want to remove the extended media (unplug the expansion card ). Intent. ACTION_MEDIA_MOUNTED; // broadcast sent when the SD card is inserted and correctly installed (identified): the extended media is inserted and mounted. Intent. ACTION_MEDIA_NOFS; // Intent. ACTION_MEDIA_REMOVED; // The external storage device has been removed. Will this broadcast be sent no matter whether it is uninstalled correctly? // Broadcast: the extended media is removed. Intent. ACTION_MEDIA_SCANNER_FINISHED; // broadcast: A Media Directory Intent has been scanned. ACTION_MEDIA_SCANNER_SCAN_FILE; // Intent. ACTION_MEDIA_SCANNER_STARTED; // broadcast: Start to scan a Media Directory Intent. ACTION_MEDIA_SHARED; // broadcast: the mounting of the extended media is unmounted because it has been shared as a USB large capacity storage. Intent. ACTION_MEDIA_UNMOUNTABLE; // Intent. ACTION_MEDIA_UNMOUNTED // broadcast: the extended media exists, but has not been mounted ). Intent. ACTION_NEW_OUTGOING_CALL; // Intent. ACTION_PACKAGE_ADDED; // After the APK is successfully installed // broadcast: An application package is installed on the device. // A new application package has been installed on the device, and the data includes the package name (the latest package program cannot receive this broadcast) Intent. ACTION_PACKAGE_CHANGED; // an existing application package has been changed, including the package name Intent. ACTION_PACKAGE_DATA_CLEARED; // The broadcast sent when the data of an application is cleared (when setting -- Application Management -- select an application and then click "Clear Data ?) // The user has cleared the data of a package, including the package name (the package clearing program cannot receive this broadcast) Intent. ACTION_PACKAGE_INSTALL; // a broadcast triggered when the download is completed, such as downloading an application in the e-marketplace? // Intent. ACTION_PACKAGE_REMOVED; // broadcast sent after an APK is deleted successfully // an existing application package has been removed from the device, including the package name (the package program being installed cannot receive this broadcast) Intent. ACTION_PACKAGE_REPLACED; // broadcast sent when an existing installation package is replaced (whether the installed APP is newer or older than the previous one ?) Intent. ACTION_PACKAGE_RESTARTED; // when the user starts a new package, all processes in the package will be killed, and all running time statuses associated with the package should be removed, including the package name (restarting the package program cannot receive this broadcast) Intent. ACTION_POWER_CONNECTED; // broadcast Intent sent when the external power is plugged in. ACTION_POWER_DISCONNECTED; // broadcast Intent that is triggered when the external power is disconnected. ACTION_PROVIDER_CHANGED; // Intent. ACTION_REBOOT; // broadcast Intent when the device is restarted. ACTION_SCREEN_OFF; // broadcast Intent after the screen is disabled. ACTION_SCREEN_ON; // broadcast Intent after the screen is opened. ACTION_SHUTDOWN; // broadcast Intent sent when the system is shut down. ACTION_TIMEZONE_CHANGED; // Broadcast Intent issued when the time zone changes. ACTION_TIME_CHANGED; // The broadcast Intent sent when the time is set. ACTION_TIME_TICK; // broadcast: the current time has changed (normal time elapsed ). // The current time changes and is sent every minute. It cannot be received through the component Declaration, only through Context. registerReceiver () method to register Intent. ACTION_UID_REMOVED; // a user ID has removed the broadcast from the system. // Intent. ACTION_UMS_CONNECTED; // is the broadcast sent when the device enters the USB high-capacity storage status? Intent. ACTION_UMS_DISCONNECTED; // broadcast when the device has changed from the USB bulk storage status to normal status? Intent. ACTION_USER_PRESENT; // Intent. ACTION_WALLPAPER_CHANGED; // broadcast String ADD_SHORTCUT_ACTION Action sent when the device wallpaper has changed: Add a shortcut to the system .. "Android. intent. action. ADD_SHORTCUT" String all_short_action action: lists all available applications. Input: none. "Android. intent. action. ALL_APPS" String ALTERNATIVE_CATEGORY category: indicates that activity is an optional operation for the data you are browsing. "Android. intent. category. ALTERNATIVE" String ANSWER_ACTION action: handles incoming calls. "Android. intent. action. ANSWER" String BATTERY_CHANGED_ACTION broadcast: the charging status or battery power changes. "Android. intent. action. BATTERY_CHANGED" String BOOT_COMPLETED_ACTION broadcast: this action is broadcast once (only once) after the system is started ). "Android. intent. action. BOOT_COMPLETED" String BROWSABLE_CATEGORY category: activities that can be safely used by browsers must support this category. "Android. intent. category. BROWSABLE" String BUG_REPORT_ACTION action: displays the activity report error. "Android. intent. action. BUG_REPORT" String CALL_ACTION: call. The called contact is specified in the data. "Android. intent. action. CALL" String CALL_FORWARDING_STATE_CHANGED_ACTION broadcast: The CALL transfer status of the voice phone has changed. "Android. intent. action. CFF" String CLEAR_CREDENTIALS_ACTION: Clear the credential ). "Android. intent. action. CLEAR_CREDENTIALS "String CONFIGURATION_CHANGED_ACTION broadcast: The device configuration has changed. For more information, see Resources. configuration. "android. intent. action. CONFIGURATION_CHANGED "Creator CREATOR does not have a String DATA_ACTIVITY_STATE_CHANGED_ACTION broadcast: The data activity Status of the phone (that is, the status of sending and receiving data) has changed. "Android. intent. action. DATA_ACTIVITY" String DATA_CONNECTION_STATE_CHANGED_ACTION broadcast: The data connection status of the phone has changed. "Android. intent. action. DATA_STATE" String DATE_CHANGED_ACTION broadcast: the date is changed. "Android. intent. action. DATE_CHANGED" String DEFAULT_ACTION: Same as VIEW_ACTION, It is a standard action performed on data. "Android. intent. action. VIEW" String DEFAULT_CATEGORY category: This category needs to be set if activity is an option for performing a real-time action (click, center press) on data. "Android. intent. category. DEFAULT" String DELETE_ACTION: deletes the specified data from the container. "Android. intent. action. DELETE "String DEVELOPMENT_PREFERENCE_CATEGORY category: indicates that activity is a development panel ). "android. intent. category. DEVELOPMENT_PREFERENCE "String DIAL_ACTION: Call the specified phone number in the data. "Android. intent. action. DIAL" String EDIT_ACTION: displays the Editable interface for the specified data. "Android. intent. action. EDIT" String EMBED_CATEGORY category: It can be run in parent activity. "Android. intent. category. EMBED" String EMERGENCY_DIAL_ACTION: call an emergency phone number. "Android. intent. action. EMERGENCY_DIAL "int FORWARD_RESULT_LAUNCH start flag: If this flag is set and an existing activity is used to start a new activity, reply target) will be transferred to the new activity. 16 0x00000010String FOTA_CANCEL_ACTION broadcast: cancels all pending (pending) update downloads. "Android. server. checkin. FOTA_CANCEL" String FOTA_INSTALL_ACTION broadcast: The update has been confirmed and will be installed soon. "Android. server. checkin. FOTA_INSTALL" String FOTA_READY_ACTION broadcast: The update has been downloaded and can be installed. "Android. server. checkin. FOTA_READY" String FOTA_RESTART_ACTION broadcast: Resume stopped update downloads. "Android. server. checkin. FOTA_RESTART" String FOTA_UPDATE_ACTION broadcast: download and install OS updates through OTA. "Android. server. checkin. FOTA_UPDATE "String FRAMEWORK_INSTRUMENTATION_TEST_CATEGORY category: To be used as code under test for framework instrumentation tests. "android. intent. category. FRAMEWORK_INSTRUMENTATION_TEST "String GADGET_CATEGORY category: this activity can be embedded into the host activity (activity that is hosting gadgets ). "Android. intent. category. GADGET" String GET_CONTENT_ACTION action: Select data and return data. "Android. intent. action. GET_CONTENT" String HOME_CATEGORY category: Main Screen (activity), the first activity displayed after the device starts. "Android. intent. category. HOME" String INSERT_ACTION: insert an item in the container ). "Android. intent. action. INSERT "String INTENT_EXTRA additional data: when used together with PICK_ACTIVITY_ACTION, it indicates the activity selected for display; when used together with ADD_SHORTCUT_ACTION, it describes the shortcut to be added. "Android. intent. extra. INTENT" String LABEL_EXTRA additional data: character tags starting with an upper-case letter, used together with ADD_SHORTCUT_ACTION. "Android. intent. extra. LABEL" String LAUNCHER_CATEGORY category: the Activity should be displayed in the top-level launcher. "Android. intent. category. LAUNCHER" String LOGIN_ACTION action: Obtain the logon credential. "Android. intent. action. LOGIN" String MAIN_ACTION action: starts as the main entry point without data. "Android. intent. action. MAIN" String MEDIABUTTON_ACTION broadcast: the user presses "Media Button ". "Android. intent. action. MEDIABUTTON" String MEDIA_BAD_REMOVAL_ACTION broadcast: the extended media (expansion card) has been removed from the SD card slot, but the mount point has not been unmounted ). "Android. intent. action. MEDIA_BAD_REMOVAL" String MEDIA_EJECT_ACTION broadcast: You want to remove the extended media (unplug the expansion card ). "Android. intent. action. MEDIA_EJECT" String MEDIA_MOUNTED_ACTION broadcast: the extended media is inserted and mounted. "Android. intent. action. MEDIA_MOUNTED" String MEDIA_REMOVED_ACTION broadcast: the extended media is removed. "Android. intent. action. MEDIA_REMOVED" String MEDIA_SCANNER_FINISHED_ACTION broadcast: a directory of the media that has been scanned. "Android. intent. action. MEDIA_SCANNER_FINISHED" String MEDIA_SCANNER_STARTED_ACTION broadcast: starts scanning a media directory. "Android. intent. action. MEDIA_SCANNER_STARTED" String MEDIA_SHARED_ACTION broadcast: the mounting of the extended media is unmounted because it has been shared as a USB large capacity storage. "Android. intent. action. MEDIA_SHARED" String MEDIA_UNMOUNTED_ACTION broadcast: the extended media exists, but it is not mounted yet ). "Android. intent. action. MEDIA_UNMOUNTED" String MESSAGE_WAITING_STATE_CHANGED_ACTION broadcast: the phone message wait (Voice Mail) status has changed. "Android. intent. action. MWI" int MULTIPLE_TASK_LAUNCH start tag: used in combination with NEW_TASK_LAUNCH. Changing an existing task to a foreground task is prohibited ). 8 0x00000008String NETWORK_TICKLE_RECEIVED_ACTION broadcast: The device receives a new network "tickle" notification. "Android. intent. action. NETWORK_TICKLE_RECEIVED" int NEW_TASK_LAUNCH startup flag: After setting, the activity will become the first new task in the history stack (the top of the stack ). 4 0x00000004int NO_HISTORY_LAUNCH start flag: After the settings, new activities will not be stored in the history stack. 1 0x00000001String PACKAGE_ADDED_ACTION broadcast: An application package is installed on the device. "Android. intent. action. PACKAGE_ADDED" String PACKAGE_REMOVED_ACTION broadcast: An application package is deleted from the device. "Android. intent. action. PACKAGE_REMOVED" String PHONE_STATE_CHANGED_ACTION broadcast: The phone status has changed. "Android. intent. action. PHONE_STATE" String PICK_ACTION: select an item from the data and return the selected item. "Android. intent. action. PICK" String PICK_ACTIVITY_ACTION action: select an activity and return the class (name) of the selected activity ). "Android. intent. action. PICK_ACTIVITY" String PREFERENCE_CATEGORY category: activity is a set panel (preference panel ). "Android. intent. category. PREFERENCE" String PROVIDER_CHANGED_ACTION broadcast: The update will be (real) installed. "Android. intent. action. PROVIDER_CHANGED" String PROVISIONING_CHECK_ACTION broadcast: requires the polling of provisioning service to download the latest settings. "Android. intent. action. PROVISIONING_CHECK" String RUN_ACTION action: run data (specified application), regardless of its (application. "Android. intent. action. RUN "String SAMPLE_CODE_CATEGORY category: To be used as an sample code example (not part of the normal user experience ). "android. intent. category. SAMPLE_CODE "String SCREEN_OFF_ACTION broadcast: the screen is disabled. "Android. intent. action. SCREEN_OFF" String SCREEN_ON_ACTION broadcast: the screen has been turned on. "Android. intent. action. SCREEN_ON" String SELECTED_ALTERNATIVE_CATEGORY category: activity is an optional operation for user-selected data. "Android. intent. category. SELECTED_ALTERNATIVE" String SENDTO_ACTION action: send a message to the receiver specified by data. "Android. intent. action. SENDTO" String SERVICE_STATE_CHANGED_ACTION broadcast: the telephone service status has changed. "Android. intent. action. SERVICE_STATE" String SETTINGS_ACTION action: displays system settings. Input: none. "Android. intent. action. SETTINGS" String SIGNAL_STRENGTH_CHANGED_ACTION broadcast: The phone signal strength has changed. "Android. intent. action. SIG_STR" int SINGLE_TOP_LAUNCH start flag: After setting, if the activity has been started and is at the top of the history stack, the activity will no longer be started (not restarted. 2 0x00000002String STATISTICS_REPORT_ACTION broadcast: receivers is required to report its own statistics. "Android. intent. action. STATISTICS_REPORT" String STATISTICS_STATE_CHANGED_ACTION broadcast: The statistics service status has changed. "Android. intent. action. STATISTICS_STATE_CHANGED" String SYNC_ACTION: Execute data synchronization. "Android. intent. action. SYNC" String TAB_CATEGORY category: this activity should be used as a tab in TabActivity. "Android. intent. category. TAB" String TEMPLATE_EXTRA additional data: New Record initialization template. "Android. intent. extra. TEMPLATE" String TEST_CATEGORY category: used for testing purposes, not part of a normal user experience. "Android. intent. category. TEST" String TIMEZONE_CHANGED_ACTION broadcast: the time zone has changed. "Android. intent. action. TIMEZONE_CHANGED" String TIME_CHANGED_ACTION broadcast: the time has been changed (reset ). "Android. intent. action. TIME_SET" String TIME_TICK_ACTION broadcast: the current time has changed (normal time elapsed ). "Android. intent. action. TIME_TICK" String UMS_CONNECTED_ACTION broadcast: The device enters the USB high-capacity storage mode. "Android. intent. action. UMS_CONNECTED" String UMS_DISCONNECTED_ACTION broadcast: The device exits from the USB high-capacity storage mode. "Android. intent. action. UMS_DISCONNECTED" String UNIT_TEST_CATEGORY category: it should be used as a unit test (run through test harness ). "Android. intent. category. UNIT_TEST" String VIEW_ACTION action: displays data to users. "Android. intent. action. VIEW" String WALLPAPER_CATEGORY category: this activity can set wallpaper for devices. "Android. intent. category. WALLPAPER" String WALLPAPER_CHANGED_ACTION broadcast: The system WALLPAPER has changed. "Android. intent. action. WALLPAPER_CHANGED" String WALLPAPER_SETTINGS_ACTION: displays the page for setting the selected wallpaper. Input: none. "Android. intent. action. WALLPAPER_SETTINGS" String WEB_SEARCH_ACTION: perform a web search. "Android. intent. action. WEB_SEARCH" String XMPP_CONNECTED_ACTION broadcast: the XMPP connection has been established. "Android. intent. action. XMPP_CONNECTED" String XMPP_DISCONNECTED_ACTION broadcast: the XMPP connection has been disconnected. "Android. intent. action. XMP"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.