Android 6.0 permission request

Source: Internet
Author: User

Reference: https://www.cnblogs.com/tangs/articles/6377347.html

The Android6.0 system divides the permissions into two levels:

One is normal Permissions, that is, ordinary permissions, such permissions will not lurk in the privacy and security of users, such as access to network permissions, access to WiFi, etc.;

Another kind is the dangerous Permissions, namely the dangerous permission, this kind of permission can directly threaten the user's security and the privacy question, for example accesses the text message, the album and so on permission.

But in the end what is normal permissions and dangerous permissions, here is the classification, everyone in use for reference.

1. Normal Permissions (normal permission)

    • access_location_extra_commands
    • access_network_state
    • access_notification_policy
    • access_wifi_state
    • BLUETOOTH
    • Bluetooth_admin
    • Broadcast_sticky
    • change_network_state
    • change_wifi_multicast_state
    • change_wifi_state
    • Disable_keyguard
    • Expand_status_bar
    • get_package_size
    • Install_shortcut
    • INTERNET
    • kill_background_processes
    • modify_audio_settings
    • NFC
    • read_sync_settings
    • Read_sync_stats
    • receive_boot_completed
    • Reorder_tasks
    • request_ignore_battery_optimizations
    • request_install_packages
    • Set_alarm
    • Set_time_zone
    • Set_wallpaper
    • set_wallpaper_hints
    • Transmit_ir
    • Uninstall_shortcut
    • Use_fingerprint
    • Vibrate
    • Wake_lock
    • write_sync_settings

Using the above permissions is not a threat to user security, so this kind of permission can be directly in the manifest directly in the use of, and after the installation will be directly effective.

2, Dangerous Permissions (dangerous permission)

    • SMS (SMS)
      • send_sms
      • receive_sms
      • read_sms
      • receive_wap_push
      • Receive_mms
    • STORAGE (memory card)
      • read_external_storage
      • write_external_storage
    • CONTACTS (Contact person)
      • read_contacts
      • write_contacts
      • get_accounts
    • Phone (MOBILE)
      • read_phone_state
      • call_phone
      • read_call_log
      • write_call_log
      • add_voicemail
      • use_sip
      • process_outgoing_calls
    • Calendar (Calendar)
      • Read_calendar
      • Write_calendar
    • camera
      • camera
    • location
      • access_fine_location
      • access_coarse_location
    • Sensors (sensor)
      • body_sensors
    • Microphone (microphone)
      • record_audio

Dangerous permissions and ordinary permissions are also different, ordinary permissions are a single permission, and dangerous permissions are displayed in groups, that is, when you accept a dangerous permission, not only but accept the interface to show this permission, but it is in this group of all other access rights will also be automatically acquired permissions , for example, once write_contacts is authorized, the app also has read_contacts and get_accounts permissions.
It is important to note that such permissions are also required to be registered in the manifest.

Android 6.0 permission request

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.