Android system permission Configuration

Source: Internet
Author: User

Android system permissions are not controlled by users, but are controlled by developers based on development needs. Permission control is mainly placed in androidmanifest. XML files.

Write the following permission control attributes into the androidmanifest. xml file to obtain the corresponding system permissions. If you encounter some debugging problems during development, it can be the cause of permissions.

 

<Uses-Permission Android: Name = "android. Permission. access_checkin_properties"> </uses-Permission>
Allow read/write access to the "properties" table in the checkin database. You can modify and upload the table by modifying the value.

<Uses-Permission Android: Name = "android. Permission. access_coarse_location"> </uses-Permission>
Allow oneProgramAccess the cellid or WiFi hotspot to obtain a rough location.

<Uses-Permission Android: Name = "android. Permission. access_fine_location"> </uses-Permission>
Allow a program to access excellent locations (such as GPS)

<Uses-Permission Android: Name = "android. Permission. access_location_extra_commands"> </uses-Permission>
Allow applications to access additional locations to provide commands

<Uses-Permission Android: Name = "android. Permission. access_mock_location"> </uses-Permission>
Allows programs to create simulated locations for testing

<Uses-Permission Android: Name = "android. Permission. access_network_state"> </uses-Permission>
Allow programs to access GSM Network Information

<Uses-Permission Android: Name = "android. Permission. access_surface_flinger"> </uses-Permission>
Allow programs to use surfaceflinger underlying features

<Uses-Permission Android: Name = "android. Permission. access_wifi_state"> </uses-Permission>
Allow programs to access Wi-Fi network status information

<Uses-Permission Android: Name = "android. Permission. add_system_service"> </uses-Permission>
Allow programs to publish system-level services

<Uses-Permission Android: Name = "android. Permission. battery_stats"> </uses-Permission>
Allow programs to update cell phone battery statistics

<Uses-Permission Android: Name = "android. Permission. Bluetooth"> </uses-Permission>
Allow a program to connect to a paired bluetooth device

<Uses-Permission Android: Name = "android. Permission. effecth_admin"> </uses-Permission>
Allow programs to discover and pair Bluetooth devices

<Uses-Permission Android: Name = "android. Permission. Brick"> </uses-Permission>
Request to disable the device

<Uses-Permission Android: Name = "android. Permission. broadcast_package_removed"> </uses-Permission>
Allow the program to broadcast a prompt message after an application package has been removed

<Uses-Permission Android: Name = "android. Permission. broadcast_sticky"> </uses-Permission>
Allows a program to broadcast commonly used intents

<Uses-Permission Android: Name = "android. Permission. call_phone"> </uses-Permission>
Allow a program to initialize a dialing call without requiring user confirmation through the dialing user interface

<Uses-Permission Android: Name = "android. Permission. call_privileged"> </uses-Permission>
Allow a program to call any number, including an emergency number. You do not need to go through the dialing user interface and need to confirm it.

<Uses-Permission Android: Name = "android. Permission. Camera"> </uses-Permission>
Request access to photo Devices

<Uses-Permission Android: Name = "android. Permission. change_component_enabled_state"> </uses-Permission>
Allows a program to change the enabling or disabling of a component or other

<Uses-Permission Android: Name = "android. Permission. change_configuration"> </uses-Permission>
Allows a program to modify the current settings, such as localization.

<Uses-Permission Android: Name = "android. Permission. change_network_state"> </uses-Permission>
Allow programs to change the network connection status

<Uses-Permission Android: Name = "android. Permission. change_wifi_state"> </uses-Permission>
Allow programs to change the Wi-Fi connection status

<Uses-Permission Android: Name = "android. Permission. clear_app_cache"> </uses-Permission>
Allow a program to clearly cache all installed programs from the device

<Uses-Permission Android: Name = "android. Permission. clear_app_user_data"> </uses-Permission>
Allows a program to clear user settings

<Uses-Permission Android: Name = "android. Permission. control_location_updates"> </uses-Permission>
Enable disable location update prompt from wireless module

<Uses-Permission Android: Name = "android. Permission. delete_cache_files"> </uses-Permission>
Allow programs to delete cached files

<Uses-Permission Android: Name = "android. Permission. delete_packages"> </uses-Permission>
Allow a program to delete a package

<Uses-Permission Android: Name = "android. Permission. device_power"> </uses-Permission>
Allow access to underlying power management

<Uses-Permission Android: Name = "android. Permission. Diagnostic"> </uses-Permission>
Allow program RW to diagnose Resources

<Uses-Permission Android: Name = "android. Permission. disable_keyguard"> </uses-Permission>
Allow programs to disable the keyboard lock

<Uses-Permission Android: Name = "android. Permission. Dump"> </uses-Permission>
Allow programs to return status capture information from system services

Android. Permission. expand_status_bar
Allow a program to expand and contract the status bar

Android. Permission. factory_test
Run as a factory test program on the root user

Android. Permission. Flashlight
Access flashlight

Android. Permission. force_back
Allow the program to forcibly perform a rollback operation on the top-level activities

Android. Permission. fota_update android
One reserved permission

Android. Permission. get_accounts
Access an account list in Accounts Service

Android. Permission. get_package_size
Allow a program to obtain the space occupied by any package

Android. Permission. get_tasks
Allows a program to obtain information about the currently running or recently running task, the status of a scaled task, and whether the task is active.

Android. Permission. hardware_test
Allow access to hardware
 
Android. Permission. inject_events
Allows a program to intercept user events such as buttons, touch, trackball, and so on to a time stream.

Android. Permission. install_packages
Allow a program to install packages

Android. Permission. internal_system_window
Allow Windows to use the System user interface

Android. Permission. Internet
Allow a program to open a network socket

Android. Permission. manage_app_tokens
Allow Program Management (after creation, reminder, Z-order by default to the Z axis) program reference in the window manager

Android. Permission. master_clear
Restore factory settings and clear all user data

Android. Permission. modify_audio_settings
Allow the program to modify the global audio settings

Android. Permission. modify_phone_state
Allows you to modify the phone status, such as power supply and man-machine interface.

Android. Permission. mount_unmount_filesystems
Allows mounting and unmounting file systems for removable storage

Android. Permission. persistent_activity
Allow a program to set its activities display

Android. Permission. process_outgoing_cils
Allow programs to monitor and modify broadcast phone numbers

Android. Permission. read_calendar
Allow programs to read user calendar data

Android. Permission. read_contacts
Allow programs to read user contact data

Android. Permission. read_frame_buffer
Allows Program Screen wave or more common access frame buffer data

Android. Permission. read_input_state
Allow programs to read underlying System Log Files

Android. Permission. read_owner_data
Allow programs to read owner data

Android. Permission. read_sms
Allow the program to read short messages

Android. Permission. read_sync_settings
Allow the program to read synchronization settings

Android. Permission. read_sync_stats
Allow the program to read the synchronization status

Android. Permission. Reboot
Request to be able to restart the device

Android. Permission. receive_boot_completed
Allows a program to receive the action_boot_completed broadcast and start it in the system.

Android. Permission. receive_mms
Allows a program to monitor and receive MMS messages, record or process

Android. Permission. receive_sms
Allow the program to monitor a short message, record or process

Android. Permission. receive_wap_push
Allow program monitoring to receive wap push Information

Android. Permission. record_audio
Allow the program to record audio

Android. Permission. reorder_tasks
Allow programs to change the z-axis Task Arrangement

Android. Permission. restart_packages
Allow programs to restart other programs

Android. Permission. send_sms
Allow the program to send SMS messages

Android. Permission. set_activity_watcher
Allow programs to monitor or control activities that have started the Global System

Android. Permission. set_always_finish
Allow programs to control whether activities are indirectly completed when they are in the background

Android. Permission. set_animation_scale
Modify the Global Information Ratio

Android. Permission. set_debug_app
Configure a program for debugging

Android. Permission. set_orientation
Allow underlying access to set screen orientation and actual rotation

Android. Permission. set_preferred_applications
Allow a program to modify the LIST Parameters packagemanager. addpackagetopreferred () and packagemanager. removepackagefrompreferred ()

Android. Permission. set_process_foreground
Allow the program to run the program forcibly to the foreground

Android. Permission. set_process_limit
Maximum number of processes allowed

Android. Permission. set_time_zone
Allow the program to set the time zone

Android. Permission. set_wallpaper
Allow programs to set wallpapers

Android. Permission. set_wallpaper_hints
Allow programs to set wallpaper hits

Android. Permission. signal_persistent_processes
Allow program requests to send signals to all displayed Processes

Android. Permission. status_bar
Allow the program to open, close, or disable the status bar and icon

Android. Permission. subscribed_feeds_read
Allows a program to access and subscribe to RSS feed content to provide

Android. Permission. subscribed_feeds_write
The system temporarily retains and changes the settings.

Android. Permission. system_alert_window
Allow a program to open the window using type_system_alert, which is displayed on the top layer of all other programs

Android. Permission. vibrate
Allow access to vibration Devices

Android. Permission. wake_lock
Allow the use of wakelocks of powermanager to keep the process from disappearing from the screen during sleep

Android. Permission. write_apn_settings
Allow program write API settings

Android. Permission. write_calendar
Allow a program to write but not read user calendar data

Android. Permission. write_contacts
Allow programs to write but not read user contact data

Android. Permission. write_gservices
Allow programs to modify Google service maps

Android. Permission. write_owner_data
Allow a program to write but not read owner data

Android. Permission. write_settings
Allow programs to read or write data to system settings

Android. Permission. write_sms
Allow the program to write text messages

Android. Permission. write_sync_settings
Allow program write synchronization settings

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.