Android users-permission权限列表

来源:互联网 发布:三九健康网知乎 编辑:程序博客网 时间:2024/05/02 17:52
添加WiFi以及访问网络的权限:
  <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" ></uses-permission>
  <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" ></uses-permission>
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" ></uses-permission>
  <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" ></uses-permission>
  <uses-permission android:name="android.permission.INTERNET" ></uses-permission>
  <uses-permission android:name="android.permission.WAKE_LOCK" ></uses-permission>


操作外部存储设备文件:
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />


录音时需要的权限:
<uses-permission android:name="android.permission.RECORD_AUDIO"></uses-permission>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>


录制视频时需要的权限:
<uses-permission android:name="android.permission.CAMERA"></uses-permission>
<uses-permission android:name="android.permission.RECORD_AUDIO"></uses-permission>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>


发送短信:
<uses-permission android:name="android.permission.SEND_SMS" ></uses-permission>


收短信:
<uses-permission android:name="android.permission.RECEIVE_SMS" />


收彩信:
<uses-permission android:name="android.permission.READ_SMS" />


GPS:
<!--  访问网络 -->
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<!--  GPS定位 -->
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
<!--  AGPS定位 -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission>