Android has a well-designed security model. Each application has its own Linux users and groups, running on separate processes and VMS, without affecting other applications
Android also limits the use of system resources, such as network equipment, SD cards, recording equipment and so on. If your app wants to use any system resources, we have to apply for Android permissions. This is the role of the <uses-permission> element.
A permission usually has the following format, using a string named Name to guide the permissions we want to use.
Copy the Code code as follows:
<uses-permission android:name= "string"/>
For example, to get permission to use networking APIs, we specify the following elements as child elements of <manifest>.
Copy the Code code as follows:
<uses-permission android:name= "Android.permission.INTERNET"/>
If you still need to add additional elements, we simply add more <uses-permission> on the line. Here is the online collection of information about the Android uses-permission Chinese version of the note, easy to find ~
Copy the Code code as follows:
Allow applications to access and modify the "Properties" table data in the Checkin database
Android.permission.ACCESS_CHECKIN_PROPERTIES
Allows applications to get rough location information via WiFi or mobile base station
Android.permission.ACCESS_COARSE_LOCATION
Allows applications to obtain accurate location information via GPS
Android.permission.ACCESS_FINE_LOCATION
Allow applications to access additional location provider commands
Android.permission.ACCESS_LOCATION_EXTRA_COMMANDS
Allows applications to obtain simulated location information for developer debugging applications
Android.permission.ACCESS_MOCK_LOCATION
Allow applications to obtain network information status
Android.permission.ACCESS_NETWORK_STATE
Allows applications to use the Surfaceflinger underlying graphics display support, typically used for game or Camera preview and underlying mode screens
Android.permission.ACCESS_SURFACE_FLINGER
Allow applications to access Wi-Fi network status information
Android.permission.ACCESS_WIFI_STATE
Allows the application to obtain account verification information, primarily Gmail account information, only the system-level process can access the permissions
Android.permission.ACCOUNT_MANAGER
Allow applications to use voice mail
Com.android.voicemail.permission.ADD_VOICEMAIL
Allows applications to access account management through account verification Account_manager related information
Android.permission.AUTHENTICATE_ACCOUNTS
Allow apps to update phone battery stats
Android.permission.BATTERY_STATS
Allows the application to bind the widget, telling the Appwidget service to access the widget's database
Android.permission.BIND_APPWIDGET
Allow applications to bind device management, request system Administrator receiver receiver, only system can use
Android.permission.BIND_DEVICE_ADMIN
Allow application to bind input method, request Inputmethodservice service, only system can use
Android.permission.BIND_INPUT_METHOD
Allows the application to bind RemoteView, must be requested through the Remoteviewsservice service, only the system can use
Android.permission.BIND_REMOTEVIEWS
Requires a textservice, such as Spellcheckerservice (spell check service), to ensure that only the system can interact with it
Android.permission.BIND_TEXT_SERVICE
Requires a vpnservice to ensure that only the system can interact with it
Android.permission.BIND_VPN_SERVICE
Allow application bound wallpaper, must be requested through the Wallpaperservice service, only the system can use
Android.permission.BIND_WALLPAPER
Allow applications to connect to paired Bluetooth devices
Android.permission.BLUETOOTH
Allow applications to manage Bluetooth, search for and pair new Bluetooth devices
Android.permission.BLUETOOTH_ADMIN
Allow applications to disable devices (very dangerous)
Android.permission.BRICK
Allows an application to trigger a prompt message when it is deleted
Android.permission.BROADCAST_PACKAGE_REMOVED
Allows an application to trigger a broadcast when receiving text messages
Android.permission.BROADCAST_SMS
Allow applications to receive broadcasts quickly after receiving the next broadcast
Android.permission.BROADCAST_STICKY
Allow application WAP Push service to trigger a broadcast after receiving
Android.permission.BROADCAST_WAP_PUSH
Allow applications to make calls, initialize a phone call from a non-system dialer
Android.permission.CALL_PHONE
Allows an application to dial any number that contains an emergency number without requiring a dial-up user interface
Android.permission.CALL_PRIVILEGED
Allow applications to access the camera
Android.permission.CAMERA
Allow applications to change the state of whether a component is enabled
Android.permission.CHANGE_COMPONENT_ENABLED_STATE
Allows the application to modify current settings, such as localization
Android.permission.CHANGE_CONFIGURATION
Allow applications to change network connection status
Android.permission.CHANGE_NETWORK_STATE
Allow application to set WiFi connection multi mode
Android.permission.CHANGE_WIFI_MULTICAST_STATE
Allow applications to change Wi-Fi connection status
Android.permission.CHANGE_WIFI_STATE
Allow applications to clear the app cache
Android.permission.CLEAR_APP_CACHE
Allow applications to purge app user data
Android.permission.CLEAR_APP_USER_DATA
Allow applications to enable/disable location update hints from the wireless module
Android.permission.CONTROL_LOCATION_UPDATES
Allow applications to delete cache files
Android.permission.DELETE_CACHE_FILES
Allow applications to delete apps
Android.permission.DELETE_PACKAGES
Allow application underlying power management
Android.permission.DEVICE_POWER
Allow Application RW Diagnostic resources
Android.permission.DIAGNOSTIC
Allow applications to disable keyboard locks
Android.permission.DISABLE_KEYGUARD
Allow applications to retrieve state dump information from system services
Android.permission.DUMP
Allow applications to extend or shrink the status bar
Android.permission.EXPAND_STATUS_BAR
Allow applications to run factory test mode
Android.permission.FACTORY_TEST
Allow applications to access the Flash
Android.permission.FLASHLIGHT
Allows the application to force the back rewind key, regardless of whether the activity is on the top level
Android.permission.FORCE_BACK
Allow apps to access your Gmail account list
Android.permission.GET_ACCOUNTS
Allow the application to get the file size of the app
Android.permission.GET_PACKAGE_SIZE
Allow applications to get current or recently run apps
Android.permission.GET_TASKS
Allow applications to use global search functionality
Android.permission.GLOBAL_SEARCH
Allow applications to access hardware-assisted devices for hardware testing
Android.permission.HARDWARE_TEST
Allow applications to access the underlying events of this program
Android.permission.INJECT_EVENTS
Allow applications to install location providers
Android.permission.INSTALL_LOCATION_PROVIDER
Allow applications to install apps
Android.permission.INSTALL_PACKAGES
Allow applications to open internal windows and not open this permission to third-party applications
Android.permission.INTERNAL_SYSTEM_WINDOW
Allow applications to access network connections
Android.permission.INTERNET
Allow an application to call the Killbackgroundprocesses (String) method to end a background process
Android.permission.KILL_BACKGROUND_PROCESSES
Allow applications to manage the list of accounts in Accountmanager
Android.permission.MANAGE_ACCOUNTS
Allow Application Manager to reference
Android.permission.MANAGE_APP_TOKENS
Allows applications to perform soft formatting and remove system configuration information
Android.permission.MASTER_CLEAR
Allow applications to modify global audio settings
Android.permission.MODIFY_AUDIO_SETTINGS
Allow applications to modify phone status, such as Airplane mode
Android.permission.MODIFY_PHONE_STATE
Allows applications to format removable file systems, such as formatted empty SD card
Android.permission.MOUNT_FORMAT_FILESYSTEMS
Allow applications to mount and unload external file systems
Android.permission.MOUNT_UNMOUNT_FILESYSTEMS
Allows applications to perform NFC near-distance communication operations
Android.permission.NFC
Allows an application to create a permanent activity
Android.permission.PERSISTENT_ACTIVITY
Allow applications to monitor, modify, and dial out calls
Android.permission.PROCESS_OUTGOING_CALLS
Allow applications to read user calendar data
Android.permission.READ_CALENDAR
Allow applications to read call logs
Android.permission.READ_CALL_LOG
Allow applications to read contact Address book information
Android.permission.READ_CONTACTS
Allow applications to read extended storage
Android.permission.READ_EXTERNAL_STORAGE
Allow application to read frame cache for screen
Android.permission.READ_FRAME_BUFFER
Allow applications to read browser favorites and history
Com.android.browser.permission.READ_HISTORY_BOOKMARKS
Allows the application to read the input state of the current key, only for system
Android.permission.READ_INPUT_STATE
Allow the application to read the system's underlying logs
Android.permission.READ_LOGS
Allow applications to read phone status
Android.permission.READ_PHONE_STATE
Allow applications to read user's personal information data
Android.permission.READ_PROFILE
Allow applications to read SMS content
Android.permission.READ_SMS
Allows the application to read the user's social communication data
Android.permission.READ_SOCIAL_STREAM
Allows applications to read sync settings and read Google online sync settings
Android.permission.READ_SYNC_SETTINGS
Allows the application to read the sync status and read the Google online sync settings
Android.permission.READ_SYNC_STATS
Allow applications to read user dictionaries provider get data
Android.permission.READ_USER_DICTIONARY
Allow the application to restart the device
Android.permission.REBOOT
Allow applications to run automatically
Android.permission.RECEIVE_BOOT_COMPLETED
Allow applications to receive MMS messages
Android.permission.RECEIVE_MMS
Allow applications to receive text messages
Android.permission.RECEIVE_SMS
Allow applications to receive WAP push information
Android.permission.RECEIVE_WAP_PUSH
Allow applications to record audio
Android.permission.RECORD_AUDIO
Allow application to change z-axis arrangement tasks
Android.permission.REORDER_TASKS
Allow applications to restart other programs
Android.permission.RESTART_PACKAGES
Allow apps to send text messages
Android.permission.SEND_SMS
Allows applications to monitor or control the activities that have been started in the system
Android.permission.SET_ACTIVITY_WATCHER
Allow application to set alarm reminders
Com.android.alarm.permission.SET_ALARM
Allows the application to set whether the program will always exit in the background
Android.permission.SET_ALWAYS_FINISH
Set Global animation scaling
Android.permission.SET_ANIMATION_SCALE
Set up a debugger, typically for development
Android.permission.SET_DEBUG_APP
Allow underlying access to set screen orientation and actual rotation
Android.permission.SET_ORIENTATION
Allow underlying access to set pointer speed
Android.permission.SET_POINTER_SPEED
Allow application to set parameters for application
Android.permission.SET_PREFERRED_APPLICATIONS
Allow the application to set the maximum number of running processes
Android.permission.SET_PROCESS_LIMIT
Allow application to set system time
Android.permission.SET_TIME
Allow the application to set the system time zone
Android.permission.SET_TIME_ZONE
Allow application settings Desktop wallpaper
Android.permission.SET_WALLPAPER
Allow app to set wallpaper suggestions
Android.permission.SET_WALLPAPER_HINTS
Allows application requests to send signals to all displayed processes
Android.permission.SIGNAL_PERSISTENT_PROCESSES
Allow applications to open, close, or disable status bars and icons
Android.permission.STATUS_BAR
Allow applications to access subscribed RSS feed content providers
Android.permission.SUBSCRIBED_FEEDS_READ
Allows applications to write or modify data subscribed to RSS feed content providers
Android.permission.SUBSCRIBED_FEEDS_WRITE
Allow applications to open system windows and display other applications
Android.permission.SYSTEM_ALERT_WINDOW
Allow applications to update device status
Android.permission.UPDATE_DEVICE_STATS
Allow application request validation from Accountmanager
Android.permission.USE_CREDENTIALS
Allow applications to use SIP Video services
Android.permission.USE_SIP
Allow access to vibrating devices
Android.permission.VIBRATE
Allow applications to still run after a phone lock screen
Android.permission.WAKE_LOCK
Allow applications to write to network GPRS access point settings
Name= "Android.permission.WRITE_APN_SETTINGS
Allows an application to write to the user's schedule, but not readable
Android.permission.WRITE_CALENDAR
Allow applications to write call logs
Android.permission.WRITE_CALL_LOG
Allow applications to write to contacts, but not readable
Android.permission.WRITE_CONTACTS
Allow applications to write to external storage, such as SD card write files
Android.permission.WRITE_EXTERNAL_STORAGE
Allow applications to write Google Map service data
Android.permission.WRITE_GSERVICES
Allow applications to write to browser history or favorites, but not readable
Com.android.browser.permission.WRITE_HISTORY_BOOKMARKS
Allows the application to write user profile information, but not readable
Android.permission.WRITE_PROFILE
Allow applications to write security settings
Android.permission.WRITE_SECURE_SETTINGS
Allow applications to read or write system settings
Android.permission.WRITE_SETTINGS
Allow applications to write text messages
Android.permission.WRITE_SMS
Allows the application to write user's social communication data, but not read
Android.permission.WRITE_SOCIAL_STREAM
Allow program Google online sync settings
Android.permission.WRITE_SYNC_SETTINGS
Allows the application to write data to the user dictionary provider
Android.permission.WRITE_USER_DICTIONARY
Android uses-permission Permissions List Chinese annotated version