List of Android System Permissions

qq_2260393959發表於2020-11-11

安卓官方參考文件上搬過來的,安卓系統許可權列表,建議收藏。

解釋
ACCEPT_HANDOVERAllows a calling app to continue a call which was started in another app.
ACCESS_BACKGROUND_LOCATIONAllows an app to access location in the background.
ACCESS_CHECKIN_PROPERTIESAllows read/write access to the “properties” table in the checkin database, to change values that get uploaded.
ACCESS_COARSE_LOCATIONAllows an app to access approximate location.
ACCESS_FINE_LOCATIONAllows an app to access precise location.
ACCESS_LOCATION_EXTRA_COMMANDSAllows an application to access extra location provider commands.
ACCESS_MEDIA_LOCATIONAllows an application to access any geographic locations persisted in the user’s shared collection.
ACCESS_NETWORK_STATEAllows applications to access information about networks.
ACCESS_NOTIFICATION_POLICYMarker permission for applications that wish to access notification policy.
ACCESS_WIFI_STATEAllows applications to access information about Wi-Fi networks.
ACCOUNT_MANAGERAllows applications to call into AccountAuthenticators.
ACTIVITY_RECOGNITIONAllows an application to recognize physical activity.
ADD_VOICEMAILAllows an application to add voicemails into the system.
ANSWER_PHONE_CALLSAllows the app to answer an incoming phone call.
BATTERY_STATSAllows an application to collect battery statistics
BIND_APPWIDGETAllows an application to tell the AppWidget service which application can access AppWidget’s data.
BIND_AUTOFILL_SERVICEMust be required by a AutofillService, to ensure that only the system can bind to it.
BIND_CALL_REDIRECTION_SERVICEMust be required by a CallRedirectionService, to ensure that only the system can bind to it.
BIND_CARRIER_MESSAGING_CLIENT_SERVICEA subclass of CarrierMessagingClientService must be protected with this permission.
BIND_CARRIER_MESSAGING_SERVICEThis constant was deprecated in API level 23.
BIND_CHOOSER_TARGET_SERVICEThis constant was deprecated in API level 30.
BIND_CONDITION_PROVIDER_SERVICEMust be required by a ConditionProviderService, to ensure that only the system can bind to it.
BIND_CONTROLSAllows SystemUI to request third party controls.
BIND_DEVICE_ADMINMust be required by device administration receiver, to ensure that only the system can interact with it.
BIND_DREAM_SERVICEMust be required by an DreamService, to ensure that only the system can bind to it.
BIND_INCALL_SERVICEMust be required by a InCallService, to ensure that only the system can bind to it.
BIND_INPUT_METHODMust be required by an InputMethodService, to ensure that only the system can bind to it.
BIND_MIDI_DEVICE_SERVICEMust be required by an MidiDeviceService, to ensure that only the system can bind to it.
BIND_NFC_SERVICEMust be required by a HostApduService or OffHostApduService to ensure that only the system can bind to it.
BIND_NOTIFICATION_LISTENER_SERVICEMust be required by an NotificationListenerService, to ensure that only the system can bind to it.
BIND_PRINT_SERVICEMust be required by a PrintService, to ensure that only the system can bind to it.
BIND_QUICK_ACCESS_WALLET_SERVICEMust be required by a QuickAccessWalletService to ensure that only the system can bind to it.
BIND_QUICK_SETTINGS_TILEAllows an application to bind to third party quick settings tiles.
BIND_REMOTEVIEWSMust be required by a RemoteViewsService, to ensure that only the system can bind to it.
BIND_SCREENING_SERVICEMust be required by a CallScreeningService, to ensure that only the system can bind to it.
BIND_TELECOM_CONNECTION_SERVICEMust be required by a ConnectionService, to ensure that only the system can bind to it.
BIND_TEXT_SERVICEMust be required by a TextService (e.
BIND_TV_INPUTMust be required by a TvInputService to ensure that only the system can bind to it.
BIND_VISUAL_VOICEMAIL_SERVICEMust be required by a link VisualVoicemailService to ensure that only the system can bind to it.
BIND_VOICE_INTERACTIONMust be required by a VoiceInteractionService, to ensure that only the system can bind to it.
BIND_VPN_SERVICEMust be required by a VpnService, to ensure that only the system can bind to it.
BIND_VR_LISTENER_SERVICEMust be required by an VrListenerService, to ensure that only the system can bind to it.
BIND_WALLPAPERMust be required by a WallpaperService, to ensure that only the system can bind to it.
BLUETOOTHAllows applications to connect to paired bluetooth devices.
BLUETOOTH_ADMINAllows applications to discover and pair bluetooth devices.
BLUETOOTH_PRIVILEGEDAllows applications to pair bluetooth devices without user interaction, and to allow or disallow phonebook access or message access.
BODY_SENSORSAllows an application to access data from sensors that the user uses to measure what is happening inside their body, such as heart rate.
BROADCAST_PACKAGE_REMOVEDAllows an application to broadcast a notification that an application package has been removed.
BROADCAST_SMSAllows an application to broadcast an SMS receipt notification.
BROADCAST_STICKYAllows an application to broadcast sticky intents.
BROADCAST_WAP_PUSHAllows an application to broadcast a WAP PUSH receipt notification.
CALL_COMPANION_APPAllows an app which implements the InCallService API to be eligible to be enabled as a calling companion app.
CALL_PHONEAllows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call.
CALL_PRIVILEGEDAllows an application to call any phone number, including emergency numbers, without going through the Dialer user interface for the user to confirm the call being placed.
CAMERARequired to be able to access the camera device.
CAPTURE_AUDIO_OUTPUTAllows an application to capture audio output.
CHANGE_COMPONENT_ENABLED_STATEAllows an application to change whether an application component (other than its own) is enabled or not.
CHANGE_CONFIGURATIONAllows an application to modify the current configuration, such as locale.
CHANGE_NETWORK_STATEAllows applications to change network connectivity state.
CHANGE_WIFI_MULTICAST_STATEAllows applications to enter Wi-Fi Multicast mode.
CHANGE_WIFI_STATEAllows applications to change Wi-Fi connectivity state.
CLEAR_APP_CACHEAllows an application to clear the caches of all installed applications on the device.
CONTROL_LOCATION_UPDATESAllows enabling/disabling location update notifications from the radio.
DELETE_CACHE_FILESOld permission for deleting an app’s cache files, no longer used, but signals for us to quietly ignore calls instead of throwing an exception.
DELETE_PACKAGESAllows an application to delete packages.
DIAGNOSTICAllows applications to RW to diagnostic resources.
DISABLE_KEYGUARDAllows applications to disable the keyguard if it is not secure.
DUMPAllows an application to retrieve state dump information from system services.
EXPAND_STATUS_BARAllows an application to expand or collapse the status bar.
FACTORY_TESTRun as a manufacturer test application, running as the root user.
FOREGROUND_SERVICEAllows a regular application to use Service.
GET_ACCOUNTSAllows access to the list of accounts in the Accounts Service.
GET_ACCOUNTS_PRIVILEGEDAllows access to the list of accounts in the Accounts Service.
GET_PACKAGE_SIZEAllows an application to find out the space used by any package.
GET_TASKSThis constant was deprecated in API level 21.
GLOBAL_SEARCHThis permission can be used on content providers to allow the global search system to access their data.
INSTALL_LOCATION_PROVIDERAllows an application to install a location provider into the Location Manager.
INSTALL_PACKAGESAllows an application to install packages.
INSTALL_SHORTCUTAllows an application to install a shortcut in Launcher.
INSTANT_APP_FOREGROUND_SERVICEAllows an instant app to create foreground services.
INTERACT_ACROSS_PROFILESAllows interaction across profiles in the same profile group.
INTERNETAllows applications to open network sockets.
KILL_BACKGROUND_PROCESSESAllows an application to call ActivityManager.
LOADER_USAGE_STATSAllows a data loader to read a package’s access logs.
LOCATION_HARDWAREAllows an application to use location features in hardware, such as the geofencing api.
MANAGE_DOCUMENTSAllows an application to manage access to documents, usually as part of a document picker.
MANAGE_EXTERNAL_STORAGEAllows an application a broad access to external storage in scoped storage.
MANAGE_OWN_CALLSAllows a calling application which manages it own calls through the self-managed ConnectionService APIs.
MASTER_CLEARNot for use by third-party applications.
MEDIA_CONTENT_CONTROLAllows an application to know what content is playing and control its playback.
MODIFY_AUDIO_SETTINGSAllows an application to modify global audio settings.
MODIFY_PHONE_STATEAllows modification of the telephony state - power on, mmi, etc.
MOUNT_FORMAT_FILESYSTEMSAllows formatting file systems for removable storage.
MOUNT_UNMOUNT_FILESYSTEMSAllows mounting and unmounting file systems for removable storage.
NFCAllows applications to perform I/O operations over NFC.
NFC_PREFERRED_PAYMENT_INFOAllows applications to receive NFC preferred payment service information.
NFC_TRANSACTION_EVENTAllows applications to receive NFC transaction events.
PACKAGE_USAGE_STATSAllows an application to collect component usage statistics
PERSISTENT_ACTIVITYThis constant was deprecated in API level 15.
PROCESS_OUTGOING_CALLSThis constant was deprecated in API level 29.
QUERY_ALL_PACKAGESAllows query of any normal app on the device, regardless of manifest declarations.
READ_CALENDARAllows an application to read the user’s calendar data.
READ_CALL_LOGAllows an application to read the user’s call log.
READ_CONTACTSAllows an application to read the user’s contacts data.
READ_EXTERNAL_STORAGEAllows an application to read from external storage.
READ_INPUT_STATEThis constant was deprecated in API level 16.
READ_LOGSAllows an application to read the low-level system log files.
READ_PHONE_NUMBERSAllows read access to the device’s phone number(s).
READ_PHONE_STATEAllows read only access to phone state, including the current cellular network information, the status of any ongoing calls, and a list of any PhoneAccounts registered on the device.
READ_PRECISE_PHONE_STATEAllows read only access to precise phone state.
READ_SMSAllows an application to read SMS messages.
READ_SYNC_SETTINGSAllows applications to read the sync settings.
READ_SYNC_STATSAllows applications to read the sync stats.
READ_VOICEMAILAllows an application to read voicemails in the system.
REBOOTRequired to be able to reboot the device.
RECEIVE_BOOT_COMPLETEDAllows an application to receive the Intent.
RECEIVE_MMSAllows an application to monitor incoming MMS messages.
RECEIVE_SMSAllows an application to receive SMS messages.
RECEIVE_WAP_PUSHAllows an application to receive WAP push messages.
RECORD_AUDIOAllows an application to record audio.
REORDER_TASKSAllows an application to change the Z-order of tasks.
REQUEST_COMPANION_RUN_IN_BACKGROUNDAllows a companion app to run in the background.
REQUEST_COMPANION_USE_DATA_IN_BACKGROUNDAllows a companion app to use data in the background.
REQUEST_DELETE_PACKAGESAllows an application to request deleting packages.
REQUEST_IGNORE_BATTERY_OPTIMIZATIONSPermission an application must hold in order to use Settings.
REQUEST_INSTALL_PACKAGESAllows an application to request installing packages.
REQUEST_PASSWORD_COMPLEXITYAllows an application to request the screen lock complexity and prompt users to update the screen lock to a certain complexity level.
RESTART_PACKAGESThis constant was deprecated in API level 15.
SEND_RESPOND_VIA_MESSAGEAllows an application (Phone) to send a request to other applications to handle the respond-via-message action during incoming calls.
SEND_SMSAllows an application to send SMS messages.
SET_ALARMAllows an application to broadcast an Intent to set an alarm for the user.
SET_ALWAYS_FINISHAllows an application to control whether activities are immediately finished when put in the background.
SET_ANIMATION_SCALEModify the global animation scaling factor.
SET_DEBUG_APPConfigure an application for debugging.
SET_PREFERRED_APPLICATIONSThis constant was deprecated in API level 15.
SET_PROCESS_LIMITAllows an application to set the maximum number of (not needed) application processes that can be running.
SET_TIMEAllows applications to set the system time directly.
SET_TIME_ZONEAllows applications to set the system time zone directly.
SET_WALLPAPERAllows applications to set the wallpaper.
SET_WALLPAPER_HINTSAllows applications to set the wallpaper hints.
SIGNAL_PERSISTENT_PROCESSESAllow an application to request that a signal be sent to all persistent processes.
SMS_FINANCIAL_TRANSACTIONSAllows financial apps to read filtered sms messages.
START_VIEW_PERMISSION_USAGEAllows the holder to start the permission usage screen for an app.
STATUS_BARAllows an application to open, close, or disable the status bar and its icons.
SYSTEM_ALERT_WINDOWAllows an app to create windows using the type WindowManager.
TRANSMIT_IRAllows using the device’s IR transmitter, if available.
UNINSTALL_SHORTCUTDon’t use this permission in your app.
UPDATE_DEVICE_STATSAllows an application to update device statistics.
USE_BIOMETRICAllows an app to use device supported biometric modalities.
USE_FINGERPRINTThis constant was deprecated in API level 28.
USE_SIPAllows an application to use SIP service.
VIBRATEAllows access to the vibrator.
WAKE_LOCKAllows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming.
WRITE_APN_SETTINGSAllows applications to write the apn settings and read sensitive fields of an existing apn settings like user and password.
WRITE_CALENDARAllows an application to write the user’s calendar data.
WRITE_CALL_LOGAllows an application to write (but not read) the user’s call log data.
WRITE_CONTACTSAllows an application to write the user’s contacts data.
WRITE_EXTERNAL_STORAGEAllows an application to write to external storage.
WRITE_GSERVICESAllows an application to modify the Google service map.
WRITE_SECURE_SETTINGSAllows an application to read or write the secure system settings.
WRITE_SETTINGSAllows an application to read or write the system settings.
WRITE_SYNC_SETTINGSAllows applications to write the sync settings.
WRITE_VOICEMAILAllows an application to modify and remove existing voicemails in the system.

配置寫在AndroidManifest.xml檔案中
例如:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.example.AndroidHelloWorld"
          android:versionCode="1"
          android:versionName="1.0">
    <uses-sdk android:minSdkVersion="10"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <application android:label="@string/app_name">
        <activity android:name="MyActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
    </application>
</manifest> 

相關文章