Common android constants in Appendix
1. Activity action
String constant ("android. Intent. Action." +) Description
All_apps list all available applications on the device
Answer answers incoming calls
Bug_report starts an activity for reporting bugs
Call calls out the specified phone number in data.
When the call_button user presses the "dial-up key" action not processed by the current application, the system dialing program or other dialing applications are usually opened.
The chooser displays the list of activities for the user to choose which activity to start.
Create_shortcut create a shortcut on the home interface
Default is synonymous with view. Default operations on Data
Delete deletes the specified data in data.
Dial starts the system dialing program or other dialing applications and displays the specified phone number in Data
Edit
Get_content allows you to select a specific type of data and return the URI of the data.
Insert inserts an empty data into the data container referred to by data
Insert_or_edit: edit an existing data item, or create a new data item and edit it.
Main main program portal, does not receive data
Pick allows the user to select data from the data container indicated by data and return the selected data URI
Pick_activity: select an activity and return the Class Name of the selected activity.
Search string
Send data action
Sendto open the corresponding sender program based on the destination address described in Data
Set_wallpaper open the wallpaper setting application
Sync to execute Data Synchronization
View opens the corresponding application to display data based on different data types.
Voice_command: application for opening voice commands
Web_search if the URI in data starts with HTTP or HTTPS, the browser will be opened for direct browsing. If it is other text, Google search will be used.
2. Broadcast action
String constant ("android. Intent. Action." +) Description
The setting status of airplane_mode_changed flight mode has changed.
Battery_changed the battery charging status or power usage has changed. You can only use the context. registerreceiver () method in the program to dynamically register and receive this broadcastreceiver, not static registration in manifests.
Broadcast issued when battery_low battery is low. It corresponds to the dialog box for Low battery warning.
Boot_completed sends this broadcast after the system starts. It is often used to control the auto-start of an application. To receive this broadcast, you must have the receive_boot_completed permission.
Broadcast issued after the camera_button "camera" Key is pressed
Configuration_changed system settings changed
Date_changed system date changed
Broadcast issued when the storage space of the device_storage_low device is low
Broadcast
The broadcast issued when the headset_plug wired headset is inserted or pulled out. The status is determined by using the integer data whose key value is state in extra. The value 0 indicates the pulling, and the value 1 indicates the insertion.
Manage_package_storage indicates that the user has confirmed the low storage space status of the current device through notification, and needs to manage the installed applications
New_outgoing_call indicates the broadcast that is sent before calling out. To receive this broadcast, you must have process_outgoing_cils permission.
Package_added the new application is installed on the device.
Package_changed the status of the installed application.
Package_install download and install the application
Package_removed installed applications are uninstalled
The package_restarted application is restarted.
Provider_changed the contentprovider of some applications will issue this broadcast when some specific data changes.
Screen_off the broadcast triggered after the screen is dimmed and Disabled
Screen_on screen wake-up broadcast
Timezone_changed: the system time zone has changed. The time zone ID is stored in the extra with the key value "time-zone ".
Time_changed system time changed through the device
The time_tick system sends a broadcast every minute. The broadcastreceiver that receives this broadcast can only register it dynamically in the program using the context. registerreceiver () method, but cannot register it statically in manifests.
A user ID in the uid_removed system is deleted.
3. Category
String constant ("android. Intent. category." +) Description
Alternative indicates that the target activity is an optional operation for the user to view data.
Browsable applications that want to be securely called by browsers through links must declare a category, such as applications to be opened through image links or email links.
Default indicates that the target activity is the default user operation on data.
Gadget indicates that the target activity can be embedded in other activities.
Home indicates that the target activity is the home activity, that is, the activity displayed after the mobile phone is started, or the activity displayed after the home key is pressed.
Launcher indicates that the target activity is the activity with the highest priority in the application.
Openable indicates that the get_content operation only processes the URI data that can be opened with contentresolver. openinputstream.
Preference indicates that the target activity is a preference activity.
Tab indicates that the target activity is an activity under a tab of tabactivity.
4, permission
String constant ("android. Permission." +) Description
Access_coarse_location allows the application to obtain the rough location of the device (such as location through the Base Station)
Access_fine_location allows the application to obtain the exact location of the device (for example, GPS positioning)
Access_network_state allows the application to obtain the network status information of the device.
Access_wifi_state allows the application to obtain the WiFi status of the device.
Add_system_service run the application to publish system-level services
Battery_stats allows applications to update battery-related information.
Bluetooth allows applications to connect to a paired bluetooth device
Bluetooth_admin allows applications to discover and pair Bluetooth devices
Broadcast_package_removed allows an application to send a broadcast of "application deleted ".
Broadcast_sms allows applications to send "receive SMS" broadcasts.
Broadcast_sticky allows applications to call the context. sendstickybroadcast () method to send broadcasts.
Broadcast_wap_push allows applications to send broadcasts that receive wap push.
Call_phone allows the application to dial out the phone number directly.
Call_privileged allows the application to dial out any phone number, including an emergency number.
Camera allows applications to access cameras on devices
Change_configuration allows the application to change the current configuration, such as locale Configuration
Change_network_state allows the application to change the system network connection status
Change_wifi_state allows applications to change the WiFi connection status
Delete_packages allows the application to uninstall the application
Expand_status_bar run the application to expand or contract the status bar
Flashlight allows applications to access the flashlight on the device
Get_package_size allows the application to obtain the space occupied by any application.
Get_tasks allows the application to obtain the list of recent or currently running applications
Install_packages allows applications to install applications
Allow applications to exchange data over a network connection over the Internet
Modify_audio_settings allow the application to change the global audio settings
Modify_phone_state allows the application to change the phone status
Mount_unmount_filesystems allows applications to mount or unmount the file system of removable storage devices
Persistent_activity allows all activities in the application to be sustainable
Process_outgoing_cils allows the application to monitor, change, or abort outgoing calls
Read_calendar allows applications to read users' calendar data.
Read_contacts allows applications to read user contact data
Read_frame_buffer allows applications to screen and read frame buffer data more commonly.
Read_owner_data allows the application to read the data of the owner.
Read_phone_state allows applications to read phone-related status
Read_sms allows applications to read SMS information
Read_sync_settings allows applications to read data synchronization settings
Read_sync_status allows the application to read the data synchronization status.
Reboot allows applications to restart Devices
Receive_boot_completed allows applications to receive action_boot_completed broadcasts sent after startup
Receive_mms allows the application to check the multimedia information sent
Receive_sms allows the application to check the sent SMS information
Receive_wap_push allows the application to check the wap push information sent
Record_audio allows application recording
Restart_packages allows applications to restart other applications
Send_sms allows applications to send SMS messages
Set_always_finish: allow the application to decide whether to close the program when it is put into the background.
Set_animation_scale allows the application to set the global animation effect ratio.
Set_preferred_application allows applications to set preference applications
Set_process_foreground allows the application to run any ready process on the frontend.
Set_process_limit allows the application to set the number of processes that can run simultaneously
Set_time_zone allows the application to set the time zone
Set_wallpaper allows applications to set wallpapers
Status_bar allows an application to open, close, or disable the status bar.
Vibrate allows applications to control device vibrations
Wake_lock allows the application to use the wakelock of powermanager to keep the CPU working or enable screen and keyboard lights.
Write_apn_settings allows the application to set the APN
Write_calendar allows applications to write users' calendar data (unreadable)
Write_contacts allows applications to write (unreadable) User contacts)
Write_owner_data allows the application to write the data of the owner (unreadable)
Write_settings allows applications to read or change system settings
Write_sms allows applications to write sms Information
Write_sync_settings allows the application to change the data synchronization settings