• Android常用权限


      Android常用权限记录,根据使用频率排序,方便快速查找,更多权限后续补充

    功能 权限 注释 翻译
    访问网络 <uses-permission android:name="android.permission.INTERNET" /> 访问网络连接 Allows applications to open network sockets
    网络状态 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

    允许程序访问网络状态,如是否能联网

    Allows applications to accessinformation about networks
    程序缓存 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>

    允许挂载和反挂载可移动存储文件系统,

    操作system/data/data/包名/cache目录

    Allows mounting and unmounting file systems for removable storage
    SD卡写操作 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 允许程序写入外部存储,如SD卡上写文件 Allows an application to write to external storage
    拨打电话 <uses-permission android:name="android.permission.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

    读取联系人 <uses-permission android:name="android.permission.READ_CONTACTS"/> 允许应用访问联系人通讯录信息 Allows an application to read the user's contacts data
    处理拨出电话 <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/> 允许程序监视、修改有关播出电话 Allows an application to monitor, modify, or abort outgoing calls
    发送短信 <uses-permission android:name="android.permission.SEND_SMS"/> 发送短信 Allows an application to send SMS messages
    接收短信 <uses-permission android:name="android.permission.RECEIVE_SMS"/> 允许程序监控一个将收到短信息,记录或处理

    Allows an application to monitor incoming SMS messages,to record or perform processing on them

    读取短信内容 <uses-permission android:name="android.permission.READ_SMS"/> 允许程序读取短信息 Allows an application to read SMS messages
    粗略位置 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>  通过WiFi或基站获取粗略经纬度,精度误差:30~1500米 Allows an application to access coarse (e.g., Cell-ID, WiFi)location
    精确位置 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>  通过GPS芯片接收卫星的定位信息,精度达10米内 Allows an app to access precise location from location sources such as GPS, cell towers, and Wi-Fi
    wifi状态 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>  获取当前WiFi接入的状态以及WLAN热点的信息 Allows applications to access information about Wi-Fi networks
    打开摄像头 <uses-permission android:name="android.permission.CAMERA"/>  允许访问摄像头进行拍照 Required to be able to access the camera device.
    自动对焦

    <uses-feature android:name = "android.hardware.camera" />

    <uses-feature android:name="android.hardware.camera.autofocus" />

     自动对焦   --
    闪光灯 <uses-permission android:name="android.permission.FLASHLIGHT" />  控制闪光灯 Allows access to the flashlight
    电量统计 <uses-permission android:name="android.permission.BATTERY_STATS" />  获取电池电量统计信息 Allows an application to collect battery statistics
    开机启动 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>  允许程序开机允许服务 Allows an application to receive the ACTION_BOOT_COMPLETED that is broadcast after the system finishes booting
    使用蓝牙 <uses-permission android:name="android.permission.BLUETOOTH"/> 允许程序连接配对过的蓝牙设备 Allows applications to connect to paired bluetooth devices
    管理蓝牙 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> 允许程序进行发现和配对新的蓝牙设备 Allows applications to discover and pair bluetooth devices
    闹钟 <uses-permission android:name="android.permission.SET_ALARM"/> 设置闹铃提醒 Allows an application to broadcast an Intent to set an alarm for the user.
    应用大小 <uses-permission android:name="android.permission.GET_PACKAGE_SIZE"/> 获取应用的文件大小 Allows an application to find out the space used by any package
    声音设置 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> 修改声音设置信息 Allows an application to modify global audio settings
    录音 <uses-permission android:name="android.permission.RECORD_AUDIO"/> 录制声音通过手机或耳机的麦克 Allows an application to record audio
    振动 <uses-permission android:name="android.permission.VIBRATE"/> 手机振动 Allows access to the vibrator
    桌面壁纸 <uses-permission android:name="android.permission.SET_WALLPAPER"/> 设置桌面壁纸 Allows applications to set the wallpaper
    系统设置 <uses-permission android:name="android.permission.WRITE_SETTINGS"/> 允许读写系统设置项 Allows an application to read or write the system settings.
  • 相关阅读:
    windows 创建指定大小文件
    python pip命令 报错‘unknow or unsupported command install’
    PyCharm:ModuleNotFoundError: No module named 'selenium'
    毕设图片链接
    本地localhost:端口号(自己设置的Apache的端口号)打不开问题解决了!开心、哭泣
    python之freshman00
    Python之freshman07 面向对象编程jinjie
    Python之freshman08 Socket
    Python之freshman04
    Python之freshman05
  • 原文地址:https://www.cnblogs.com/pursuege/p/3919150.html
Copyright © 2020-2023  润新知