Common broadcast action constants for Android

Source: Internet
Author: User

intent.action_airplane_mode_changed; Broadcast when airplane mode is turned off or turned on

intent.action_battery_changed; Charging status, or the battery's power is changed
Battery charge status, charge level change, cannot receive this broadcast through the formation statement, only through Context.registerreceiver () registration

intent.action_battery_low;//indicates low battery power

intent.action_battery_okay;//indicates that the battery is fully charged, that is, the broadcast will be issued when the battery level changes from low to full

intent.action_boot_completed;//This action is broadcast once (only once) after the system has been booted.

intent.action_camera_button;//the broadcast when the camera button (hardware key) is pressed

intent.action_close_system_dialogs;//when the screen times out for the lock screen, the Android system broadcasts the ACTION message when the user presses the power button, long press or short press (whether or not to jump out of the box).

intent.action_configuration_changed;//broadcast (including changes: interface language, device orientation, etc.) issued when the device's current settings are changed, please refer to Configuration.java

This broadcast will be issued when the intent.action_date_changed;//device date has changed

intent.action_device_storage_low;//broadcast when the device is out of memory, this broadcast can only be used by the system, other apps are not available?

intent.action_device_storage_ok;//device memory from insufficient to sufficient when the broadcast, this broadcast can only be used by the system, other apps are not available?

intent.action_dock_event;//the place where this broadcast was sent Frameworks\base\services\java\com\android\server\dockobserver.java

intent.action_external_applications_available;//when the mobile app is complete, the broadcast (mobile means: APP2SD)

intent.action_external_applications_unavailable;//Broadcasting (Mobile refers to: APP2SD) when the app is being moved

Intent.action_gtalk_service_connected;//gtalk broadcast when a connection has been established

Intent.action_gtalk_service_disconnected;//gtalk broadcast when a connection has been disconnected

intent.action_headset_plug;//broadcast when the headset is plugged into the headphone port

intent.action_input_method_changed;//broadcast when changing the IME

intent.action_locale_changed;//broadcast when the device current locale has changed

Intent.action_manage_package_storage;
//

intent.action_media_bad_removal;//the SD card is not removed correctly (the correct way to remove the SD card is to set the--SD card and device memory--to uninstall the SD card), but the broadcast that was issued when the SD card was removed
Broadcast: The extended media (expansion card) has been unplugged from the SD card slot, but the mount point has not been lifted (unmount)

intent.action_media_button;//Broadcast when press button is pressed, if there is a "media button" key (Hardware button)

intent.action_media_checking;//when inserting an external storage device, such as an SD card, the system will verify the SD card and broadcast it at this time?
INTENT.ACTION_MEDIA_EJECT;//has unplugged a broadcast from an external mass storage device (such as an SD card, or a removable hard drive), and the broadcast will be issued with or without proper uninstallation?
Broadcast: The user wants to remove the extended media (unplug the expansion card).
intent.action_media_mounted;//broadcast when inserting an SD card and properly installed (recognized)
Broadcast: The extended media is inserted and is already mounted.
Intent.action_media_nofs;

intent.action_media_removed;//The external storage device has been removed, this broadcast will be issued, whether or not it is uninstalled properly?
Broadcast: The extension media is removed.
intent.action_media_scanner_finished;//broadcast: A directory that has been scanned for media
Intent.action_media_scanner_scan_file;
//
intent.action_media_scanner_started;//Broadcast: Start scanning a directory of media

intent.action_media_shared;//Broadcast: The Mount of the extended media is lifted (unmount) because it has been shared as a USB mass storage.
intent.action_media_unmountable;
//
intent.action_media_unmounted//broadcast: The extended media exists but is not mounted (mount).
Intent.action_new_outgoing_call;

intent.action_package_added;//after the successful installation apk
Broadcast: A new application package is installed on the device.
A new app package is already installed on the device, and the data includes the package name (the latest installed package program cannot receive this broadcast)
intent.action_package_changed;//an existing application package has changed, including the package name
intent.action_package_data_cleared;
To clear the broadcast of an application's data (in Settings-app management-Select an app, then point to clear data?)
The user has cleared the data for a package, including the package name (The Purge package program cannot receive this broadcast)

intent.action_package_install;//trigger a download and complete the broadcast of the installation, such as downloading the app in the electronics market?
intent.action_package_removed;
Successful deletion of an APK after the broadcast
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;//the broadcast when replacing an existing installation package (whether the app is now installed newer or older than before, this broadcast will be issued?). )
intent.action_package_restarted; The user restarts a package, all processes of the package will be killed, and all runtime status associated with it should be removed, including the package name (restart package program cannot receive this broadcast)
intent.action_power_connected;//broadcast when plugging in an external power supply
intent.action_power_disconnected;//broadcast when an external power connection has been disconnected
intent.action_provider_changed;
//

intent.action_reboot;//broadcast when restarting a device

intent.action_screen_off;//screen is closed after the broadcast

intent.action_screen_on;//screen is opened after the broadcast

intent.action_shutdown;//broadcast when shutting down the system

intent.action_timezone_changed;//broadcast when a time zone change occurs

intent.action_time_changed;//broadcast when the time is set

Intent.action_time_tick;
Broadcast: The current time has changed (normal time passes).
The current time changes, sent every minute, cannot be received through the component Declaration, only through the Context.registerreceiver () method to register

intent.action_uid_removed; A user ID has been removed from the system for the broadcast sent

intent.action_ums_connected;//a broadcast when a device has entered a USB mass storage state?

intent.action_ums_disconnected;//a broadcast when a device has been converted from a USB mass storage state to a normal state?

Intent.action_user_present;

intent.action_wallpaper_changed;//a broadcast when a device wallpaper has changed

Common broadcast action constants for Android

Related Article

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.