Detailed explanation of Android broadcast content action event

The details are as follows:

Intent.ACTION_ AIRPLANE_ MODE_ CHANGED; // Broadcast when airplane mode is turned off or on

Intent.ACTION_ BATTERY_ CHANGED; // The charging state or the battery power changes. / / the charging state and charge level of the battery change. You can't receive this broadcast through the build statement. You can only register through context. Registerreceiver()

Intent.ACTION_ BATTERY_ LOW; // Indicates that the battery is low

Intent.ACTION_ BATTERY_ OKAY; // Indicates that the battery is full, that is, a broadcast will be issued when the battery changes from low to full

Intent.ACTION_ BOOT_ COMPLETED; // After the system is started, this action is broadcast once (only once).

Intent.ACTION_ CAMERA_ BUTTON; // A broadcast when the camera button (hardware key) is pressed

Intent.ACTION_ CLOSE_ SYstem_ DIALOGS; // When the screen times out to lock the screen, the Android system will broadcast this action message when the user presses the power button, long press or short press (whether or not the dialog box jumps out) to lock the screen

Intent.ACTION_ CONfigURATION_ CHANGED; // Broadcast when the current settings of the device are changed (including changes: interface language, device direction, etc., please refer to configuration. Java)

Intent.ACTION_ DATE_ CHANGED; // This broadcast is issued when the device date changes

Intent.ACTION_ DEVICE_ STORAGE_ LOW; // The broadcast sent when the device memory is insufficient. This broadcast can only be used by the system, and other apps are not available?

Intent.ACTION_ DEVICE_ STORAGE_ OK; // The broadcast sent when the device memory is insufficient to sufficient. This broadcast can only be used by the system, and other apps are not available?

Intent.ACTION_ DOCK_ EVENT; // // Where this broadcast is sent: frameworks \ base \ services \ Java \ com \ Android \ server \ dockobserver.java

Intent.ACTION_ EXTERNAL_ APPLICATIONS_ AVAILABLE; //// Broadcast sent after the mobile app is completed (mobile refers to app2sd)

Intent.ACTION_ EXTERNAL_ APPLICATIONS_ UNAVAILABLE; // Broadcast sent when the app is moving (mobile means app2sd)

Intent.ACTION_ GTALK_ SERVICE_ CONNECTED; // Broadcast when Gtalk has established a connection

Intent.ACTION_ GTALK_ SERVICE_ DISCONNECTED; // Broadcast when Gtalk is disconnected

Intent.ACTION_ HEADSET_ PLUG; // A broadcast when a headset is inserted into the headset port

Intent.ACTION_ INPUT_ METHOD_ CHANGED; // Broadcast when changing input method

Intent.ACTION_ LOCALE_ CHANGED; // Broadcast when the device's current locale has changed

Intent.ACTION_ MANAGE_ PACKAGE_ STORAGE; //

Intent.ACTION_ MEDIA_ BAD_ REMOVAL; // The SD card is not removed correctly (how to remove the SD card correctly: set -- SD card and device memory -- uninstall the SD card), but the broadcast is issued when the SD card is removed. / / broadcast: the expansion media (expansion card) has been pulled out of the SD card slot, but the mount point has not been unmounted

Intent.ACTION_ MEDIA_ BUTTON; // The broadcast when the "media button" key is pressed, if there is a "media button" key (hardware key)

Intent.ACTION_ MEDIA_ CHECKING; // When an external storage device, such as an SD card, is inserted, the system will check the SD card, and the broadcast will be sent out at this time?

Intent.ACTION_ MEDIA_ EJECT; // The broadcast sent by the external mass storage device (such as SD card or mobile hard disk) has been unplugged. Will this broadcast be sent regardless of whether it is uninstalled correctly// Broadcast: the user wants to remove the expansion media (unplug the expansion card).

Intent.ACTION_ MEDIA_ MOUNTED; // Broadcast when the SD card is inserted and properly installed (identified) / / broadcast: the expansion media is inserted and mounted.

Intent.ACTION_ MEDIA_ NOFS; //

Intent.ACTION_ MEDIA_ REMOVED; // The external storage device has been removed. This broadcast will be issued whether it is uninstalled correctly or not// Broadcast: expansion media removed.

Intent.ACTION_ MEDIA_ SCANNER_ FINISHED; // Broadcast: a directory where media has been scanned

Intent.ACTION_ MEDIA_ SCANNER_ SCAN_ FILE; //

Intent.ACTION_ MEDIA_ SCANNER_ STARTED; // Broadcast: starts scanning a directory of media

Intent.ACTION_ MEDIA_ SHARED; // Broadcast: the expansion media is unmounted because it has been shared as USB mass storage.

Intent.ACTION_ MEDIA_ UNMOUNTABLE; //

Intent.ACTION_ MEDIA_ Unmounted / / broadcast: the extension media exists but has not been mounted.

Intent.ACTION_ NEW_ OUTGOING_ CALL; //

Intent.ACTION_ PACKAGE_ ADDED; // After successfully installing APK / / broadcast: an application package is newly installed on the device// A new application package has been installed on the device, and the data includes the package name (the newly 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; // Broadcast sent when clearing the data of an application (in settings - Application Management - select an application, and then click clear data). / / the user has cleared the data of a package, including the package name (the program that clears the package cannot receive this broadcast)

Intent.ACTION_ PACKAGE_ INSTALL; // Trigger a download and broadcast when the installation is completed, such as downloading an application in the electronic market//

Intent.ACTION_ PACKAGE_ REMOVED; // Successfully delete the broadcast issued after an APK. / / an existing application package has been removed from the device, including the package name (the package being installed cannot receive this broadcast)

Intent.ACTION_ PACKAGE_ REPLACED; // The broadcast issued when replacing an existing installation package (this broadcast will be issued no matter whether the installed app is newer or older than the previous one?)

Intent.ACTION_ PACKAGE_ RESTARTED; // When the user restarts a package, all processes of the package will be killed, and all runtime states associated with it should be removed, including the package name (the restart package program cannot receive this broadcast)

Intent.ACTION_ POWER_ CONNECTED; // Broadcast when external power is plugged in

Intent.ACTION_ POWER_ DISCONNECTED; // Broadcast when external power is disconnected

Intent.ACTION_ PROVIDER_ CHANGED; //

Intent.ACTION_ REBOOT; // Broadcast when restarting the device

Intent.ACTION_ SCREEN_ OFF; // Broadcast after screen is turned off

Intent.ACTION_ SCREEN_ ON; // Broadcast after screen is turned on

Intent.ACTION_ SHUTDOWN; // Broadcast when the system is turned off

Intent.ACTION_ TIMEZONE_ CHANGED; // Broadcast when time zone changes

Intent.ACTION_ TIME_ CHANGED; // Broadcast when time is set

Intent.ACTION_ TIME_ TICK; // Broadcast: the current time has changed (normal time elapses)// The current time changes. It is sent every minute. It cannot be received through component declaration. It can only be registered through the context. Registerreceiver() method

Intent.ACTION_ UID_ REMOVED; // A user ID has removed the broadcast from the system//

Intent.ACTION_ UMS_ CONNECTED; // Broadcast when the device has entered the USB mass storage state?

Intent.ACTION_ UMS_ DISCONNECTED; // Broadcast when the device has changed from USB mass storage state to normal state?

Intent.ACTION_ USER_ PRESENT; //

Intent.ACTION_ WALLPAPER_ CHANGED; // Broadcast when device wallpaper has changed

The above content is the detailed explanation of the Android broadcast intention action event introduced by Xiaobian. I hope you like it.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>