1.Manifest文件中放置权限声明的位置:


<uses-sdk       android:minSdkVersion="8"       android:targetSdkVersion="17" />   <uses-permission android:name="android.permission.INTERNET" />   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />   <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />   <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />   <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" />   <uses-permission android:name="android.permission.READ_CONTACTS" />   <application       android:allowBackup="true"       android:icon="@drawable/ic_launcher"       android:label="@string/app_name"       android:theme="@style/AppTheme" >


2.Android app常用权限说明:



android.permission.ACCESS_COARSE_LOCATION

允许一个程序访问CellID或WiFi热点来获取粗略的位置(Allows an application to access coarse (e.g., Cell-ID, WiFi)location)

android.permission.ACCESS_FINE_LOCATION

允许一个程序访问精良位置(如GPS)

(Allows an application to access fine(e.g., GPS) location)


android.permission.ACCESS_MOCK_LOCATION

允许程序创建模拟位置提供用于测试(Allows an application to create mock location providers fortesting)

android.permission.ACCESS_NETWORK_STATE

允许程序访问有关GSM网络信息

(Allows applications to accessinformation about networks)


android.permission.ACCESS_WIFI_STATE

允许程序访问Wi-Fi网络状态信息

(Allows applications to accessinformation about Wi-Fi networks)

android.permission.BROADCAST_PACKAGE_REMOVED

允许程序广播一个提示消息在一个应用程序包已经移除后(Allows an application to broadcast a notification that anapplication package has been removed)

android.permission.BROADCAST_STICKY

允许一个程序广播常用

intents(Allows an application to broadcast sticky intents)

android.permission.CALL_PHONE

允许一个程序初始化一个电话拨号不需通过拨号用户界面需要用户确认(Allows an application to initiate a phone call without goingthrough the Dialer user interface for the user to confirm the call beingplaced.)

android.permission.CALL_PRIVILEGED

允许一个程序拨打任何号码,包含紧急号码无需通过拨号用户界面需要用户确认(Allows an application to call any phone number, including emergencynumbers, without going through the Dialer user interface for the user toconfirm the call being placed)

android.permission.CAMERA

请求访问使用照相设备(Required to be able to access the camera device. )

android.permission.CHANGE_CONFIGURATION

允许一个程序修改当前设置,如本地化(Allows an application to modify the current configuration, such aslocale. )

android.permission.CHANGE_NETWORK_STATE

允许程序改变网络连接状态

(Allows applications to change network connectivity state)

android.permission.CHANGE_WIFI_STATE

允许程序改变Wi-Fi连接状态

(Allows applications to changeWi-Fi connectivity state)
 

android.permission.HARDWARE_TEST

允许访问硬件

(Allows access to hardware peripherals. )


android.permission.INJECT_EVENTS

允许一个程序截获用户事件如按键、触摸、轨迹球等等到一个时间流,hook技术(Allows an application to inject user events (keys, touch, trackball)into the event stream and deliver them to ANY window.)
 

android.permission.INTERNET

允许程序打开网络套接字

(Allows applications to open network sockets)


android.permission.MOUNT_UNMOUNT_FILESYSTEMS

允许挂载和反挂载文件系统可移动存储(Allows mounting and unmounting file systems for removable storage.)


android.permission.PROCESS_OUTGOING_CALLS

允许程序监视、修改有关播出电话(Allows an application to monitor, modify, or abort outgoing calls)


android.permission.READ_CALENDAR

允许程序读取用户日历数据

(Allows an application to read the user's calendar data.)


android.permission.READ_CONTACTS

允许程序读取用户联系人数据(Allows an application to read the user's contacts data.)


android.permission.READ_LOGS

允许程序读取底层系统日志文件

(Allows an application to read the low-level system log files. )


android.permission.READ_OWNER_DATA

允许程序读取所有者数据

(Allows an application to read the owner's data)


android.permission.READ_SMS

允许程序读取短信息

(Allows an application to read SMS messages.)
 


android.permission.RECEIVE_BOOT_COMPLETED

允许一个程序接收到 ACTION_BOOT_COMPLETED广播在系统完成启动(Allows anapplication to receive the ACTION_BOOT_COMPLETED that is broadcast after thesystem finishes booting. )


android.permission.RECEIVE_MMS

允许一个程序监控将收到MMS彩信,记录或处理(Allowsan application to monitor incoming MMS messages, to record or performprocessing on them. )


android.permission.RECEIVE_SMS

允许程序监控一个将收到短信息,记录或处理(Allows an application to monitor incoming SMS messages, to record orperform processing on them.)

android.permission.RECORD_AUDIO

允许程序录制音频

(Allows an application to record audio)


android.permission.SEND_SMS

允许程序发送SMS短信(Allows an application to send SMSmessages)
  

android.permission.SUBSCRIBED_FEEDS_READ

允许一个程序访问订阅RSS Feed内容提供(Allows an application to allowaccess the subscribed feeds ContentProvider. )
  

android.permission.VIBRATE

允许访问振动设备

(Allows access to the vibrator)


android.permission.WRITE_CALENDAR

允许一个程序写入但不读取用户日历数据(Allows an application to write (but not read) the user's calendardata. )


android.permission.WRITE_CONTACTS

允许程序写入但不读取用户联系人数据(Allows an application to write (but not read) the user's contactsdata. )

android.permission.WRITE_OWNER_DATA

允许一个程序写入但不读取所有者数据(Allows an application to write (but not read) the owner's data.)

android.permission.WRITE_SMS

允许程序写短信

(Allows an application to write SMS messages)

更多相关文章

  1. Android(安卓)自定义下拉刷新上拉加载
  2. android 双击事件的实现
  3. Android(安卓)优化开机启动
  4. 基于 Android(安卓)NDK 进行 OpenGL ES开发
  5. Android及系统架构目录结构介绍
  6. Android(安卓)listview与adapter用法
  7. 如何理解、使用Android(安卓)LogCat以及通过Monkey进行压力测试
  8. android wifi 无线调试
  9. android 本地数据库

随机推荐

  1. Android(安卓)消息通知-Notification
  2. 全局窗口一
  3. android传感器
  4. Delphi XE5 android 获取网络状态
  5. SDK,NDK,ADT工具下载常用地址
  6. Android(安卓)api对应系统版本
  7. Android对话框的几种形式
  8. Android(安卓)AlertDialog学习
  9. Android(安卓)Adapter的使用
  10. 全局窗口一