5 years ago (2015-08-23)  Software development |   First to comment  31 
post score 0 times, average 0.0

In Android development, the application must request permission from the Android system when accessing mobile phone hardware resources such as SD read and write, network access, location, call camera, or system services such as contacts and phone calls.The permission mechanism helps protect the user's mobile phone security.There have been many Trojans that have sent text messages to you in the background, and they have been deducted without hesitation.The premise that this kind of Trojan horse can send short messages is to apply for the right to send SMS messages to the android system.Many security software now have the function of forbidding application permissions. Even if the mobile phone application has access to some mobile phone resources, it can forcibly prohibit access. Android development permissions For developers, the method to apply for permissions for an application is to add <manifest /> in the project manifest file like: <uses-permission android:name="android.permission.CALL_PHONE(permission name)" /> The following is the Android development application permission. Daquan:

Android development permissions

Access registration attribute android.permission.ACCESS_CHECKIN_PROPERTIES , read or write permission to register the check-in database property sheet
Get the wrong location android.permission.ACCESS_COARSE_LOCATION, obtain the user's wrong latitude and longitude information through WiFi or mobile base station, positioning accuracy is about 30 to 1500 meters
Get precise location android.permission.ACCESS_FINE_LOCATION, Receive GPS positioning information via GPS chip, positioning accuracy within 10 meters
Access positioning extra commands android.permission.ACCESS_LOCATION_EXTRA_COMMANDS, allowing programs to access additional location provider directives
Get analog location information android.permission.ACCESS_MOCK_LOCATION, get simulated location information, generally used to help developers debug applications
Get network status android.permission.ACCESS_NETWORK_STATE, get network information status, such as the current network connection is valid
Visit Surface Flinger android.permission.ACCESS_SURFACE_FLINGER, low-level graphic display support on the Android platform, generally used for screenshots of the game or camera preview interface and underlying mode
Get WiFi status android.permission.ACCESS_WIFI_STATE, Get current WiFi access status and WLAN hotspot information
Account management android.permission.ACCOUNT_MANAGER, obtain account authentication information, mainly GMail account information, only system-level processes can access permissions
Verify account android.permission.AUTHENTICATE_ACCOUNTS, allows a program to access account management ACCOUNT_MANAGER related information through account authentication
Electricity statistics android.permission.BATTERY_STATS, Get battery statistics
Bind widgets android.permission.BIND_APPWIDGET allows a program to tell the appWidget service that it needs to access the widget's database. Only very few applications use this permission.
Bonding device management android.permission.BIND_DEVICE_ADMIN, request system administrator receiver receiver, only the system can use
Binding input method android.permission.BIND_INPUT_METHOD , request InputMethodService service, only system can use
Bind RemoteView android.permission.BIND_REMOTEVIEWS, must be requested by the RemoteViewsService service, only the system can use
Binding wallpaper android.permission.BIND_WALLPAPER, must be requested by the WallpaperService service, only the system can use
Use Bluetooth android.permission.BLUETOOTH, allowing programs to connect to paired Bluetooth devices
Bluetooth management android.permission.BLUETOOTH_ADMIN, allowing programs to discover and pair new Bluetooth devices
Become a brick android.permission.BRICK, can disable the phone, very dangerous, as the name suggests is to make the phone into a brick
Broadcast when the application is deleted android.permission.BROADCAST_PACKAGE_REMOVED, triggers a broadcast when an app is deleted
Broadcast when you receive a text message android.permission.BROADCAST_SMS, triggers a broadcast when a text message is received
Continuous broadcast android.permission.BROADCAST_STICKY, allows a program to receive a broadcast quickly after receiving the next broadcast
WAP PUSH broadcast android.permission.BROADCAST_WAP_PUSH, triggers a broadcast after the WAP PUSH service is received
dial number android.permission.CALL_PHONE, allowing programs to enter phone numbers from non-system dialers
Call permissions android.permission.CALL_PRIVILEGED, allows the program to make calls, replacing the system's dialer interface
Photographing permissions android.permission.CAMERA, allowing access to the camera for taking pictures
Change component status android.permission.CHANGE_COMPONENT_ENABLED_STATE, change whether the component is enabled
Change the configuration android.permission.CHANGE_CONFIGURATION, allows the current application to change the configuration, such as positioning
Change network status android.permission.CHANGE_NETWORK_STATE, change the network status if it can be networked
Change WiFi Multicast Status android.permission.CHANGE_WIFI_MULTICAST_STATE, change WiFi multicast status
Change WiFi status android.permission.CHANGE_WIFI_STATE, change WiFi status
Clear application cache android.permission.CLEAR_APP_CACHE, clear application cache
Clear user data android.permission.CLEAR_APP_USER_DATA, clear the application's user data
Underlying access android.permission.CWJ_GROUP, allows CWJ account groups to access the underlying information
Mobile Optimizer Extended Rights android.permission.CELL_PHONE_MASTER_EX, Mobile Optimizer Extended Permissions
Control location updates android.permission.CONTROL_LOCATION_UPDATES, allows mobile network location changes
Delete the cache file android.permission.DELETE_CACHE_FILES, Allows the app to delete cached files
Delete application android.permission.DELETE_PACKAGES, allows a program to delete an application
Power Management android.permission.DEVICE_POWER, allowing access to underlying power management
Application diagnosis android.permission.DIAGNOSTIC, allowing programs to RW to diagnose resources
Disable keypad lock android.permission.DISABLE_KEYGUARD, allows the program to disable the keyboard lock
Transfer system information android.permission.DUMP, allowing programs to get system dump information from system services
Status bar control android.permission.EXPAND_STATUS_BAR allows programs to expand or contract the status bar
Factory test mode android.permission.FACTORY_TEST, allows the program to run factory test mode
Use flash android.permission.FLASHLIGHT, allows access to the flash
Forced back android.permission.FORCE_BACK, allows the program to force the use of the back back button, regardless of whether the activity is at the top level
Access Account Gmail List android.permission.GET_ACCOUNTS, access GMail account list
Get application size android.permission.GET_PACKAGE_SIZE, get the application's file size
Get task information android.permission.GET_TASKS, allowing programs to get current or recently running applications
Allow global search android.permission.GLOBAL_SEARCH, allowing programs to use the global search feature
hardware test android.permission.HARDWARE_TEST, access hardware aids for hardware testing
Injection event android.permission.INJECT_EVENTS, allows access to the program's underlying events, get the key, trackball event stream
Installation location provided android.permission.INSTALL_LOCATION_PROVIDER, install targeting provided
Install the application android.permission.INSTALL_PACKAGES, allowing programs to install applications
Internal system window android.permission.INTERNAL_SYSTEM_WINDOW, allows the program to open an internal window without opening this permission for third-party applications
Access network android.permission.INTERNET, access network connection, may generate GPRS traffic
End the background process android.permission.KILL_BACKGROUND_PROCESSES, which allows the program to call killBackgroundProcesses(String). The method ends the background process
Management account android.permission.MANAGE_ACCOUNTS, allowing programs to manage account lists in AccountManager
Management program reference android.permission.MANAGE_APP_TOKENS, management creation, destruction, Z-axis sequence, for the system only
Advanced permissions android.permission.MTWEAK_USER, allows mTweak users to access advanced system permissions
Community permissions android.permission.MTWEAK_FORUM, Allows Use of mTweak Community Permissions
Soft formatting android.permission.MASTER_CLEAR, allows programs to perform soft formatting, delete system configuration information
Modify sound settings android.permission.MODIFY_AUDIO_SETTINGS, modify sound settings information
Modify phone status android.permission.MODIFY_PHONE_STATE, modify the phone status, such as flight mode, but does not include the replacement system dialer interface
Format file system android.permission.MOUNT_FORMAT_FILESYSTEMS, format removable file system, such as formatted SD card
Mount file system android.permission.MOUNT_UNMOUNT_FILESYSTEMS, Mounting and Unmounting an External File System
Allow NFC communication android.permission.NFC, allowing programs to perform NFC short-range communication operations for mobile support
Permanent Activity android.permission.PERSISTENT_ACTIVITY, create a permanent Activity that is marked as being removed in the future
Handling outgoing calls android.permission.PROCESS_OUTGOING_CALLS, allows the program to monitor, modify or forgo the broadcast
Read schedule reminder android.permission.READ_CALENDAR, allows the program to read the user's schedule information
Read contacts android.permission.READ_CONTACTS, allows applications to access contacts directory information
Screenshots android.permission.READ_FRAME_BUFFER, read frame buffer for screenshots
Reading favorites and history com.android.browser.permission.READ_HISTORY_BOOKMARKS, read browser favorites and history
Read input status android.permission.READ_INPUT_STATE, read the current key input state, only for the system
Reading the system log android.permission.READ_LOGS, read the system underlying log
Read phone status android.permission.READ_PHONE_STATE, access phone status
Read SMS content android.permission.READ_SMS, read SMS content
Read sync settings android.permission.READ_SYNC_SETTINGS, read the synchronization settings, read Google online synchronization settings
Read synchronization status android.permission.READ_SYNC_STATS, read synchronization status, get Google online synchronization status
Reboot the device android.permission.REBOOT, Allows the program to restart the device
Automatic start permission android.permission.RECEIVE_BOOT_COMPLETED, allows the program to start automatically
Receive MMS android.permission.RECEIVE_MMS, Receive MMS
Receive SMS android.permission.RECEIVE_SMS, Receive SMS
Receive Wap Push android.permission.RECEIVE_WAP_PUSH, receive WAP PUSH information
recording android.permission.RECORD_AUDIO, recording the sound of a mic through a phone or headset
Sorting system tasks android.permission.REORDER_TASKS, Reordering Tasks in System Z-Axis Operation
End system tasks android.permission.RESTART_PACKAGES, the end of the task through the restartPackage(String) method, which will be abandoned in foreign
send messages android.permission.SEND_SMS, send SMS
Set Activity to observe it android.permission.SET_ACTIVITY_WATCHER, setting the Activity observer to be used for monkey tests
Set alarm reminder com.android.alarm.permission.SET_ALARM, set alarm reminder
Setting always exits android.permission.SET_ALWAYS_FINISH, set whether the program always exits in the background
Set animated zoom android.permission.SET_ANIMATION_SCALE, set global animation scaling
Setting up the debugger android.permission.SET_DEBUG_APP, set the debugger, generally used for development
Set screen orientation android.permission.SET_ORIENTATION, set the screen orientation to horizontal or standard mode, not for normal applications
Set application parameters android.permission.SET_PREFERRED_APPLICATIONS, setting the application parameters, is no longer working specifically see addPackageToPreferred(String)
Set process limits android.permission.SET_PROCESS_LIMIT, which allows programs to set the maximum number of processes
Set system time android.permission.SET_TIME, set the system time
Set the system time zone android.permission.SET_TIME_ZONE, setting the system time zone
Set desktop wallpaper android.permission.SET_WALLPAPER, setting desktop wallpaper
Set wallpaper suggestions android.permission.SET_WALLPAPER_HINTS, setting wallpaper suggestions
Send a permanent process signal android.permission.SIGNAL_PERSISTENT_PROCESSES, send a permanent process signal
Status bar control android.permission.STATUS_BAR, allows the program to open, close, disable the status bar
Visit subscription content android.permission.SUBSCRIBED_FEEDS_READ, access the database of subscription information
Write subscription content android.permission.SUBSCRIBED_FEEDS_WRITE, a database for writing or modifying subscription content
Display system window android.permission.SYSTEM_ALERT_WINDOW, Show System Window
Update device status android.permission.UPDATE_DEVICE_STATS, update device status
Use certificate android.permission.USE_CREDENTIALS, which allows the program to request authentication from the AccountManager
Use SIP video android.permission.USE_SIP, allowing programs to use SIP video services
Use vibration android.permission.VIBRATE, allows vibration
Wake lock android.permission.WAKE_LOCK, allows the background process to still run after the phone screen is closed
Write GPRS access point settings android.permission.WRITE_APN_SETTINGS, write network GPRS access point settings
Write schedule reminder android.permission.WRITE_CALENDAR, written to the schedule, but not readable
Write to contact android.permission.WRITE_CONTACTS, write contacts, but not read
Write to external storage android.permission.WRITE_EXTERNAL_STORAGE allows programs to write to external storage, such as writing files on an SD card
Write Google Maps data android.permission.WRITE_GSERVICES, allowing programs to write Google Maps service data
Write favorites and history com.android.browser.permission.WRITE_HISTORY_BOOKMARKS, written to browser history or favorites but not readable
Read and write system sensitive settings android.permission.WRITE_SECURE_SETTINGS, allowing programs to read and write system security-sensitive settings
Read and write system settings android.permission.WRITE_SETTINGS, allows to read and write system settings
Write SMS android.permission.WRITE_SMS, allows to write SMS
Write online synchronization settings android.permission.WRITE_SYNC_SETTINGS, write Google online synchronization settings

This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/android-development-authority-books-2.html

Post comment


No Comment


Forget password?