码迷,mamicode.com
首页 > 移动开发 > 详细

Android permission

时间:2014-11-07 14:21:58      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:android   style   blog   io   color   sp   for   div   on   

1. <permission>

this is the permission other should acquire before using this app

<permission
        android:name="course.labs.permissions.DANGEROUS_ACTIVITY_PERM"
        android:label="my_permission"
        android:protectionLevel="normal" >
</permission>

2. <user-permission>

this is the permission an app should acquire before using another app or system funtion like read phone contact.

<uses-permission android:name="course.labs.permissions.DANGEROUS_ACTIVITY_PERM" />

3. system permission

android.permission.CALL_EMERGENCY_NUMBERS 
android.permission.READ_OWNER_DATA 
android.permission.SET_WALLPAPER 
android.permission.DEVICE_POWER

 

Android permission

标签:android   style   blog   io   color   sp   for   div   on   

原文地址:http://www.cnblogs.com/phoenix13suns/p/4081020.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!