Androidmanifest.xml <uses-permission> Nodes

Source: Internet
Author: User
Tags unsupported delete cache

Resources:
Http://developer.android.com/reference/android/Manifest.permission.html
Http://developer.android.com/guide/topics/manifest/uses-permission-element.html

<uses-permission> is a direct sub-node of <manifest>. There can be more than one, which lists all the required system permissions for the app, otherwise the app will not function properly if it requires relevant permissions.
The app will present these permissions to the user at the time of installation and can only be installed if the user allows it.

Grammar:

<android:name= "string"    android:maxsdkversion= "integer"  />

Property:

Android:name
The name of the permission. This can be a system-standard permission name, such as "Android.permission.CAMERA", "Android.permission.READ_CONTACTS", or other applications in <permission> The permissions defined in the.

Android:maxsdkversion
This permission is declared to be invalid after an SDK version. Because some permissions may no longer be needed after an SDK version number, such as "write_external_storage" is not needed in 4.4 (api19) and beyond.

System standard Permission table:

Access_checkin_properties:allows read/write access to the ' PROPERTIES ' table in the CHECKIN database, to change values th At get uploaded.
Checkin database is a feature in Google Maps, and the phone automatically records where you've been

Access_coarse_location:allows an app to access approximate location derived from network location sources such as cell to Wers and Wi-Fi.
Allows for approximate location via base station or WiFi. Related Classes Locationmanager

Access_fine_location:allows an app for access precise location from location sources such as GPS, cell towers, and Wi-Fi.
Allows for precise location via GPS, base station or WiFi. Related Classes Locationmanager

Access_location_extra_commands:allows an application to access EXTRA location provider COMMANDS
Information about GPS positioning is required to be declared using the relevant positioning information for the GPS Locationprovider class. Related Classes Locationmanager

Access_mock_location:allows an application-to-create MOCK location providers for testing
Information about GPS positioning is required to be declared using the relevant positioning information for the GPS Locationprovider class. Related Classes Locationmanager

Access_network_state:allows applications to access information about networks
Gets the network status. Related Classes Connectivitymanager

Access_surface_flinger:allows a application to use Surfaceflinger's low level features.
The Android platform itself provides an underlying display interface Flinger service that requires this permission to use this service. Msurfacesession = new Surfacesession ();

Access_wifi_state:allows applications to access information about Wi-Fi networks
Get WiFi status information. Wifimanager wm= (Wifimanager) Getsystemservice (Context.wifi_service);

Account_manager:allows applications to call into Accountauthenticators.
Permissions required for user account management. Related Classes Accountmanager

Add_voicemail:allows an application to add voicemails into the system.
Add a voice message to the user's mailbox. Related Classes Voicemailcontract

Authenticate_accounts:allows an application to act as a accountauthenticator for the Accountmanager
Account authentication-related permissions. Related Classes Accountmanager

Battery_stats:allows an application to collect BATTERY statistics
Battery status-related permissions. Related Classes Batterymanager

Bind_accessibility_service:must is required by a accessibilityservice, to ensure that is the system can bind to it.
Ancillary services-related permissions. Related Classes Accessibilityservice

Bind_appwidget:allows an application to tell the Appwidget service which application can access Appwidget ' s data.
Related Classes Appwidgetservice

Bind_device_admin:must be required by DEVICE administration receiver, to ensure the system can interact with it .
The Device Management service-related permissions. Related Classes Deviceadminreceiver

Bind_dream_service:must is required by a dreamservice, to ensure that is the system can bind to it.
Daydream function-related permissions. Related Classes Dreamservice

Bind_input_method:must is required by a inputmethodservice, to ensure that is the system can bind to it.
IME-related permissions. Related Classes Inputmethodservice

Bind_nfc_service:must be required by a hostapduservice or offhostapduservice to ensure so only the system can bind to I T.
The required permissions for NFC communication. Related Classes Hostapduservice,offhostapduservice

Bind_notification_listener_service:must is required by a notificationlistenerservice, to ensure that the system can Bind to it.
The permission to listen for notification messages. Related Classes Notificationlistenerservice

Bind_print_service:must is required by a printservice, to ensure that is the system can bind to it.
Print related permissions. Related Classes Printservice

Bind_remoteviews:must is required by a remoteviewsservice, to ensure that is the system can bind to it.
Widget-related permissions. Related Classes Remoteviewsservice

Bind_text_service:must is required by a textservice
IME-related permissions. Related Classes TextService

Bind_tv_input:must is required by a tvinputservice to ensure, that's the system can bind to it.
Related Classes Tvinputservice

Bind_voice_interaction:must is required by a voiceinteractionservice, to ensure that is the system can bind to it.
Speech recognition-related permissions. Related Classes Voiceinteractionservice

Bind_vpn_service:must is required by a vpnservice, to ensure that is the system can bind to it.
VPN-related permissions. Related Classes Vpnservice

Bind_wallpaper:must is required by a wallpaperservice, to ensure that is the system can bind to it.
Wallpaper-related permissions. Related Classes Wallpaperservice

Bluetooth:allows applications to connect to paired Bluetooth devices
Bluetooth connection permissions. Related Classes Bluetoothadapter

Bluetooth_admin:allows applications to discover and pair Bluetooth devices
Bluetooth discovery and pairing device permissions. Related Classes Bluetoothadapter

Bluetooth_privileged:allows applications to pair Bluetooth devices without user interaction, and to allow or disallow pho Nebook access or message access.
Allows Bluetooth device discovery and pairing without alerting the user. Related Classes Bluetoothadapter

Body_sensors:allows an application to access data from sensors, the user uses to measure what's happening inside his /her body, such as heart rate.
Body sensor permissions.

Brick:required to is able to disable the device (very dangerous!).
One second to change the permissions of brick ...

Broadcast_package_removed:allows an application to broadcast a notification, a application package have been removed.
Permission to send a broadcast reminder after an app has been deleted

Broadcast_sms:allows an application to broadcast an SMS receipt notification.
Receive Sms_deliver_action permissions. Related Classes Telephony.Sms.Intents

Broadcast_sticky:allows an application to broadcast STICKY intents.
Send sticky broadcast permissions. Related Methods Sendstickybroadcast

Broadcast_wap_push:allows a application to broadcast a WAP PUSH receipt notification.
Accept Wap_push_deliver_action permissions. Related Classes Telephony.Sms.Intents

Call_phone:allows an application to initiate a PHONE call without going through the Dialer user interface for the user to Confirm the call being placed.
The app dials the phone permission. Related code
Uri uri = uri.parse ("tel:12345678");
Intent Intent = new Intent (Intent.action_call, URI);
StartActivity (Intent);

Call_privileged:allows an application to call any phone number, including emergency numbers, without going through the Di Aler user interface for the user to confirm, the call being placed.
System-specific call privileges, including emergency calls.

Camera:required to is able to access the camera device.
Call camera permissions. Related class camera

Capture_audio_output:allows an application to capture AUDIO OUTPUT.
Captures system internal speaker sound permissions. Related Classes Audiorecord

Capture_secure_video_output:allows an application to capture SECURE VIDEO OUTPUT.
Capturing private Video output permissions

Capture_video_output:allows an application to capture VIDEO OUTPUT.
Capturing Video output permissions

Change_component_enabled_state:allows an application to change whether a application COMPONENT (other than it own) is E Nabled or not.
Look at the usage here http://blog.csdn.net/yinlijun2004/article/details/6136108

Change_configuration:allows an application to modify the current CONFIGURATION, such as locale.
Modifies the current configuration, such as the region. Refer here http://blog.csdn.net/wqhjfree/article/details/9125997

Change_network_state:allows applications to change NETWORK connectivity state
Modify network connection state permissions. Related Classes Connectivitymanager

Change_wifi_multicast_state:allows applications to enter Wi-Fi multicast mode
Modify the WiFi multicast feature permissions. Related Classes Wifimanager

Change_wifi_state:allows applications to change Wi-Fi connectivity State
Modify the WiFi connection status permissions. Related Classes Wifimanager

Clear_app_cache:allows an application to clear the caches of all installed applications on the device.
Clears all app cache permissions.

Clear_app_user_data:allows an application to clear USER DATA.
Clear User Data permissions

Control_location_updates:allows enabling/disabling Location update notifications from the radio.
Enable or disable update permissions for location data. Related Classes Locationmanager

Delete_cache_files:allows an application to delete CACHE FILES.
Delete cache file permissions

Delete_packages:allows an application to delete PACKAGES.
Delete Package Permissions

Device_power:allows low-level access to POWER management.
Low-level power management permissions. Related Classes Powermanagerservice

Diagnostic:allows applications to RW to DIAGNOSTIC resources.
Disable_keyguard:allows applications to DISABLE the Keyguard
Dump:allows a application to retrieve state dump information from system services.
Expand_status_bar:allows an application to EXPAND or collapse the STATUS BAR.
Factory_test:run as a manufacturer TEST application, running as the root user.
Flashlight:allows access to the flashlight
Force_back:allows an application to force a back operation on whatever is the top activity.
Get_accounts:allows access to the list of ACCOUNTS in the ACCOUNTS Service
Get_package_size:allows an application-to-find out the space used by any package.
GET_TASKS:THIS constant was deprecated on API level 21. No longer enforced.
Get_top_activity_info:allows an application to retrieve private information on the current TOP ACTIVITY, such as any A Ssist context it can provide.
Global_search:this permission can be used on content providers to allow the global SEARCH system to access their data.
Hardware_test:allows access to HARDWARE peripherals.
Inject_events:allows an application to INJECT user EVENTS (keys, Touch, trackball) into the event stream and deliver them to any window.
Install_location_provider:allows an application-to-install a location PROVIDER into the location Manager.
Install_packages:allows an application to install PACKAGES.
Install_shortcut:allows an application to install a SHORTCUT in Launcher
Internal_system_window:allows an application to open windows that is for use by parts of the SYSTEM user interface.
Internet:allows applications to open network sockets.
Kill_background_processes:allows an application-to-call killbackgroundprocesses (String).
Location_hardware:allows an application to use location features in HARDWARE, such as the Geofencing API.
Manage_accounts:allows an application to MANAGE the list of ACCOUNTS in the Accountmanager
Manage_app_tokens:allows an application to MANAGE (Create, Destroy, Z-order) application TOKENS in the window manager.
Manage_documents:allows an application to MANAGE access to DOCUMENTS, usually as part of a document picker.
Master_clear:not for use by Third-party applications.
Media_content_control:allows an application to know, what CONTENT was playing and CONTROL its playback.
Modify_audio_settings:allows an application to MODIFY global AUDIO SETTINGS
Modify_phone_state:allows modification of the telephony state-power on, MMI, etc.
Mount_format_filesystems:allows formatting file systems for Removable Storage.
Mount_unmount_filesystems:allows mounting and Unmounting file systems for Removable Storage.
Nfc:allows applications to perform I/O operations over NFC
PERSISTENT_ACTIVITY:THIS constant was deprecated on API level 9. This functionality is removed in the future; Please don't use. Allow a application to make its activities persistent.
Process_outgoing_calls:allows an application to see the number being dialed during a outgoing call with the option to re Direct the call to a different number or abort the call altogether.
Read_calendar:allows an application to read the user ' s CALENDAR data.
Read_call_log:allows an application to read the user's call LOG.
Read_contacts:allows an application to read the user ' s CONTACTS data.
Read_external_storage:allows a application to read from EXTERNAL STORAGE.
Read_frame_buffer:allows an application-take-screen shots and more generally get access to the FRAME BUFFER data.
Read_history_bookmarks:allows an application to read (but not write) the user's browsing history and BOOKMARKS.
READ_INPUT_STATE:THIS constant was deprecated on API level 16. The API that is used this permission have been removed.
Read_logs:allows a application to read the low-level system log files.
Read_phone_state:allows Read only access to PHONE state.
Read_profile:allows an application to read the user's personal profile data.
Read_sms:allows an application to read SMS messages.
READ_SOCIAL_STREAM:THIS constant was deprecated on API level 21. This functionality is unsupported in the future; Cursors returned would be empty. Please don't use.
Read_sync_settings:allows applications to read the SYNC SETTINGS
Read_sync_stats:allows applications to read the SYNC STATS
Read_user_dictionary:allows an application to read the USER DICTIONARY.
Read_voicemail:allows an application-to-read voicemails in the system.
Reboot:required to is able to REBOOT the device.
Receive_boot_completed:allows an application-to-receive the action_boot_completed that's broadcast after the system fini Shes booting.
Receive_mms:allows an application to monitor incoming MMS messages, to record or perform processing on them.
Receive_sms:allows an application to monitor incoming SMS messages, to record or perform processing on them.
Receive_wap_push:allows a application to monitor incoming WAP PUSH messages.
Record_audio:allows an application to record AUDIO
Reorder_tasks:allows an application to change the z-order of TASKS
RESTART_PACKAGES:THIS constant was deprecated on API level 8. The Restartpackage (String) API is no longer supported.
Send_respond_via_message:allows an application (Phone) to send a request-to-applications to handle the respond-via- Message action during incoming calls.
Send_sms:allows an application to send SMS messages.
Set_activity_watcher:allows an application to watch and control how activities is started globally in the system.
Set_alarm:allows an application to broadcast a Intent to set a ALARM for the user.
Set_always_finish:allows an application to control whether activities is immediately finished when put in the background .
Set_animation_scale:modify the global ANIMATION scaling factor.
Set_debug_app:configure an application for debugging.
Set_orientation:allows low-level access to setting the ORIENTATION (actually rotation) of the.
Set_pointer_speed:allows low-level access to setting the POINTER speed.
SET_PREFERRED_APPLICATIONS:THIS constant was deprecated on API level 7. No longer useful, see addpackagetopreferred (String) for details.
Set_process_limit:allows an application to set the maximum number of (not needed) application processes, can be Runni Ng.
Set_time:allows applications to set the system time.
Set_time_zone:allows applications to set the system time ZONE
Set_wallpaper:allows applications to set the wallpaper
Set_wallpaper_hints:allows applications to set the wallpaper HINTS
Signal_persistent_processes:allow an application to request, a SIGNAL is sent to all persistent PROCESSES.
Status_bar:allows an application to open, close, or disable the status BAR and its icons.
Subscribed_feeds_read:allows an application-to-allow access the subscribed FEEDS ContentProvider.
Subscribed_feeds_write:
System_alert_window:allows an application to open windows using the type Type_system_alert, shown on top of any other app Lications.
Transmit_ir:allows using the device ' s IR transmitter, if available
Uninstall_shortcut:allows an application to UNINSTALL a SHORTCUT in Launcher
Update_device_stats:allows an application to update DEVICE statistics.
Use_credentials:allows an application to request Authtokens from the Accountmanager
Use_sip:allows an application to use SIP service
Vibrate:allows access to the vibrator
Wake_lock:allows using PowerManager wakelocks to keep processor from sleeping or screens from dimming
Write_apn_settings:allows applications to write the APN SETTINGS.
Write_calendar:allows an application to write (and not read) the user's CALENDAR data.
Write_call_log:allows an application to write (and not read) the user's contacts data.
Write_contacts:allows an application to write (and not read) the user's CONTACTS data.
Write_external_storage:allows a application to write to EXTERNAL STORAGE.
Write_gservices:allows a application to modify the Google service map.
Write_history_bookmarks:allows an application to write (but not read) the user's browsing history and BOOKMARKS.
Write_profile:allows an application to write (and not read) the user's personal profile data.
Write_secure_settings:allows an application to read or write the SECURE system SETTINGS.
Write_settings:allows an application to read or write the system SETTINGS.
Write_sms:allows an application to write SMS messages.
WRITE_SOCIAL_STREAM:THIS constant was deprecated on API level 21. This functionality is unsupported in the future; Cursors returned would be empty. Please don't use.
Write_sync_settings:allows applications to write the SYNC SETTINGS
Write_user_dictionary:allows an application to write to the USER DICTIONARY.
Write_voicemail:allows an application to modify and remove existing voicemails in the system

There are too many permission tables. The comment is not complete. Never mind

Androidmanifest.xml <uses-permission> Nodes

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.