我的Android进阶之旅------>如何获取系统中定义了那些权限
在Window控制台中输入如下命令可以看到Android系统中列出的所有权限(如果自定义权限注册成功,在这里也会找到这些自定义的权限)
adb shell pm list permissions
C:\Users\Administrator>adb shell pm list permissions
All Permissions: permission:android.permission.INTERNAL_SYSTEM_WINDOW
permission:android.permission.MOVE_PACKAGE
permission:android.permission.CONTROL_WIFI_DISPLAY
permission:android.permission.READ_INPUT_STATE
permission:android.permission.GET_TOP_ACTIVITY_INFO
permission:android.permission.REBOOT
permission:android.permission.FILTER_EVENTS
permission:android.permission.STATUS_BAR
permission:android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED
permission:android.permission.STOP_APP_SWITCHES
permission:android.permission.BIND_VPN_SERVICE
permission:android.permission.SET_KEYBOARD_LAYOUT
permission:android.permission.MANAGE_APP_TOKENS
permission:android.permission.RETRIEVE_WINDOW_INFO
permission:android.permission.BIND_PACKAGE_VERIFIER
permission:android.permission.ACCESS_KEYGUARD_SECURE_STORAGE
permission:android.permission.COPY_PROTECTED_DATA
permission:com.android.email.permission.ACCESS_PROVIDER
permission:android.permission.MASTER_CLEAR
permission:android.permission.MODIFY_NETWORK_ACCOUNTING
permission:android.permission.READ_NETWORK_USAGE_HISTORY
permission:android.permission.UPDATE_APP_OPS_STATS
permission:android.permission.INJECT_EVENTS
permission:android.permission.INSTALL_LOCATION_PROVIDER
permission:android.permission.UPDATE_LOCK
permission:android.permission.CONFIRM_FULL_BACKUP
permission:android.permission.PACKAGE_USAGE_STATS
permission:android.permission.ACCESS_SURFACE_FLINGER
permission:android.permission.CONTROL_KEYGUARD
permission:android.permission.PACKAGE_VERIFICATION_AGENT
permission:android.permission.MMS_SEND_OUTBOX_MSG
permission:android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE
permission:android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK
permission:android.permission.BIND_TEXT_SERVICE
permission:android.permission.MARK_NETWORK_SOCKET
permission:android.permission.GRANT_REVOKE_PERMISSIONS
permission:android.permission.READ_FRAME_BUFFER
permission:android.permission.UPDATE_DEVICE_STATS
permission:android.permission.FORCE_BACK
permission:android.permission.CAPTURE_SECURE_VIDEO_OUTPUT
permission:android.permission.SET_ORIENTATION
permission:com.android.certinstaller.INSTALL_AS_USER
permission:android.permission.FACTORY_TEST
permission:android.permission.MAGNIFY_DISPLAY
permission:android.permission.BIND_DEVICE_ADMIN
permission:android.permission.CLEAR_APP_USER_DATA
permission:android.permission.SHUTDOWN
permission:android.permission.MEDIA_CONTENT_CONTROL
permission:android.permission.BIND_INPUT_METHOD
permission:android.permission.BIND_ACCESSIBILITY_SERVICE
permission:android.permission.DOWNLOAD_CACHE_NON_PURGEABLE
permission:android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS
permission:com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS
permission:android.permission.SERIAL_PORT
permission:android.permission.CONFIGURE_WIFI_DISPLAY
permission:android.permission.CAPTURE_AUDIO_OUTPUT
permission:android.permission.ACCESS_CHECKIN_PROPERTIES
permission:android.permission.CRYPT_KEEPER
permission:android.permission.DEVICE_POWER
permission:android.permission.DELETE_PACKAGES
permission:android.permission.ACCESS_CACHE_FILESYSTEM
permission:android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY
permission:android.permission.BIND_NFC_SERVICE
permission:android.permission.ACCESS_ALL_DOWNLOADS
permission:android.permission.ACCESS_DOWNLOAD_MANAGER
permission:android.permission.CONTROL_LOCATION_UPDATES
permission:android.permission.DELETE_CACHE_FILES
permission:android.permission.CAPTURE_VIDEO_OUTPUT
permission:android.permission.ACCESS_NETWORK_CONDITIONS
permission:android.permission.INVOKE_CARRIER_SETUP
permission:android.permission.ACCESS_NOTIFICATIONS
permission:android.permission.BRICK
permission:android.permission.SET_ACTIVITY_WATCHER
permission:android.permission.BACKUP
permission:android.permission.SET_TIME
permission:android.permission.STATUS_BAR_SERVICE
permission:android.permission.MANAGE_DEVICE_ADMINS
permission:android.permission.PERFORM_CDMA_PROVISIONING
permission:android.permission.CAPTURE_AUDIO_HOTWORD
permission:android.permission.INSTALL_PACKAGES
permission:android.permission.BIND_NOTIFICATION_LISTENER_SERVICE
permission:com.android.browser.permission.PRELOAD
permission:android.permission.SET_POINTER_SPEED
permission:android.permission.CALL_PRIVILEGED
permission:android.permission.CHANGE_COMPONENT_ENABLED_STATE
permission:android.permission.BIND_PRINT_SPOOLER_SERVICE
permission:android.permission.BIND_PRINT_SERVICE
permission:android.permission.MANAGE_CA_CERTIFICATES
permission:android.permission.MANAGE_NETWORK_POLICY
permission:android.permission.WRITE_GSERVICES
permission:android.permission.FREEZE_SCREEN
permission:android.permission.BIND_WALLPAPER
permission:android.permission.BIND_REMOTEVIEWS
permission:android.permission.TEMPORARY_ENABLE_ACCESSIBILITY
permission:android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY
C:\Users\Administrator>adb -s emulator-5554 shell pm list permissions
All Permissions: permission:android.permission.INTERNAL_SYSTEM_WINDOW
permission:android.permission.MOVE_PACKAGE
permission:android.permission.CONTROL_WIFI_DISPLAY
permission:android.permission.READ_INPUT_STATE
permission:android.permission.GET_TOP_ACTIVITY_INFO
permission:android.permission.REBOOT
permission:android.permission.FILTER_EVENTS
permission:android.permission.STATUS_BAR
permission:android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED
permission:android.permission.STOP_APP_SWITCHES
permission:android.permission.BIND_VPN_SERVICE
permission:android.permission.SET_KEYBOARD_LAYOUT
permission:android.permission.MANAGE_APP_TOKENS
permission:android.permission.RETRIEVE_WINDOW_INFO
permission:android.permission.BIND_PACKAGE_VERIFIER
permission:android.permission.ACCESS_KEYGUARD_SECURE_STORAGE
permission:android.permission.COPY_PROTECTED_DATA
permission:com.android.email.permission.ACCESS_PROVIDER
permission:android.permission.MASTER_CLEAR
permission:android.permission.MODIFY_NETWORK_ACCOUNTING
permission:android.permission.READ_NETWORK_USAGE_HISTORY
permission:android.permission.UPDATE_APP_OPS_STATS
permission:android.permission.INJECT_EVENTS
permission:android.permission.INSTALL_LOCATION_PROVIDER
permission:android.permission.UPDATE_LOCK
permission:android.permission.CONFIRM_FULL_BACKUP
permission:android.permission.PACKAGE_USAGE_STATS
permission:android.permission.ACCESS_SURFACE_FLINGER
permission:android.permission.CONTROL_KEYGUARD
permission:android.permission.PACKAGE_VERIFICATION_AGENT
permission:android.permission.MMS_SEND_OUTBOX_MSG
permission:android.intent.category.MASTER_CLEAR.permission.C2D_MESSAGE
permission:android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK
permission:android.permission.BIND_TEXT_SERVICE
permission:android.permission.MARK_NETWORK_SOCKET
permission:android.permission.GRANT_REVOKE_PERMISSIONS
permission:android.permission.READ_FRAME_BUFFER
permission:android.permission.UPDATE_DEVICE_STATS
permission:android.permission.FORCE_BACK
permission:android.permission.CAPTURE_SECURE_VIDEO_OUTPUT
permission:android.permission.SET_ORIENTATION
permission:com.android.certinstaller.INSTALL_AS_USER
permission:android.permission.FACTORY_TEST
permission:android.permission.MAGNIFY_DISPLAY
permission:android.permission.BIND_DEVICE_ADMIN
permission:android.permission.CLEAR_APP_USER_DATA
permission:android.permission.SHUTDOWN
permission:android.permission.MEDIA_CONTENT_CONTROL
permission:android.permission.BIND_INPUT_METHOD
permission:android.permission.BIND_ACCESSIBILITY_SERVICE
permission:android.permission.DOWNLOAD_CACHE_NON_PURGEABLE
permission:android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS
permission:com.android.printspooler.permission.ACCESS_ALL_PRINT_JOBS
permission:android.permission.SERIAL_PORT
permission:android.permission.CONFIGURE_WIFI_DISPLAY
permission:android.permission.CAPTURE_AUDIO_OUTPUT
permission:android.permission.ACCESS_CHECKIN_PROPERTIES
permission:android.permission.CRYPT_KEEPER
permission:android.permission.DEVICE_POWER
permission:android.permission.DELETE_PACKAGES
permission:android.permission.ACCESS_CACHE_FILESYSTEM
permission:android.permission.START_PRINT_SERVICE_CONFIG_ACTIVITY
permission:android.permission.BIND_NFC_SERVICE
permission:android.permission.ACCESS_ALL_DOWNLOADS
permission:android.permission.ACCESS_DOWNLOAD_MANAGER
permission:android.permission.CONTROL_LOCATION_UPDATES
permission:android.permission.DELETE_CACHE_FILES
permission:android.permission.CAPTURE_VIDEO_OUTPUT
permission:android.permission.ACCESS_NETWORK_CONDITIONS
permission:android.permission.INVOKE_CARRIER_SETUP
permission:android.permission.ACCESS_NOTIFICATIONS
permission:android.permission.BRICK
permission:android.permission.SET_ACTIVITY_WATCHER
permission:android.permission.BACKUP
permission:android.permission.SET_TIME
permission:android.permission.STATUS_BAR_SERVICE
permission:android.permission.MANAGE_DEVICE_ADMINS
permission:android.permission.PERFORM_CDMA_PROVISIONING
permission:android.permission.CAPTURE_AUDIO_HOTWORD
permission:android.permission.INSTALL_PACKAGES
permission:android.permission.BIND_NOTIFICATION_LISTENER_SERVICE
permission:com.android.browser.permission.PRELOAD
permission:android.permission.SET_POINTER_SPEED
permission:android.permission.CALL_PRIVILEGED
permission:android.permission.CHANGE_COMPONENT_ENABLED_STATE
permission:android.permission.BIND_PRINT_SPOOLER_SERVICE
permission:android.permission.BIND_PRINT_SERVICE
permission:android.permission.MANAGE_CA_CERTIFICATES
permission:android.permission.MANAGE_NETWORK_POLICY
permission:android.permission.WRITE_GSERVICES
permission:android.permission.FREEZE_SCREEN
permission:android.permission.BIND_WALLPAPER
permission:android.permission.BIND_REMOTEVIEWS
permission:android.permission.TEMPORARY_ENABLE_ACCESSIBILITY
permission:android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY
adb shell pm list permission-groups
C:\Users\Administrator>adb shell pm list permission-groups
permission group:android.permission-group.DEVELOPMENT_TOOLS
permission group:android.permission-group.CALENDAR
permission group:android.permission-group.AFFECTS_BATTERY
permission group:android.permission-group.STATUS_BAR
permission group:android.permission-group.DISPLAY
permission group:android.permission-group.CAMERA
permission group:android.permission-group.COST_MONEY
permission group:android.permission-group.NETWORK
permission group:android.permission-group.MICROPHONE
permission group:android.permission-group.SCREENLOCK
permission group:android.permission-group.AUDIO_SETTINGS
permission group:android.permission-group.VOICEMAIL
permission group:android.permission-group.SYNC_SETTINGS
permission group:android.permission-group.APP_INFO
permission group:android.permission-group.SOCIAL_INFO
permission group:android.permission-group.LOCATION
permission group:android.permission-group.DEVICE_ALARMS
permission group:android.permission-group.PHONE_CALLS
permission group:android.permission-group.SYSTEM_TOOLS
permission group:android.permission-group.USER_DICTIONARY
permission group:android.permission-group.BLUETOOTH_NETWORK
permission group:android.permission-group.SYSTEM_CLOCK
permission group:android.permission-group.MESSAGES
permission group:android.permission-group.STORAGE
permission group:android.permission-group.ACCESSIBILITY_FEATURES
permission group:android.permission-group.WRITE_USER_DICTIONARY
permission group:android.permission-group.PERSONAL_INFO
permission group:android.permission-group.WALLPAPER
permission group:android.permission-group.BOOKMARKS
permission group:android.permission-group.ACCOUNTS
permission group:android.permission-group.HARDWARE_CONTROLS
PS:《我的Android进阶之旅------>Android权限参考大全》
地址:http://blog.csdn.net/ouyang_peng/article/details/8885855
====================================================================================
作者:欧阳鹏 欢迎转载,与人分享是进步的源泉!
转载请保留原文地址:http://blog.csdn.net/ouyang_peng
====================================================================================
我的Android进阶之旅------>如何获取系统中定义了那些权限的更多相关文章
- 我的Android进阶之旅------>如何获取Android控件的宽和高
本文转载于:http://blog.csdn.net/johnny901114/article/details/7839512 我们都知道在onCreate()里面获取控件的高度是0,这是为什么呢?我 ...
- 我的Android进阶之旅------> Android在TextView中显示图片方法
面试题:请说出Android SDK支持哪些方式显示富文本信息(不同颜色.大小.并包括图像的文本信息).并简要说明实现方法. 答案:Android SDK支持例如以下显示富文本信息的方式. 1.使用T ...
- 【我的Android进阶之旅】推荐一款视频转换GIF图片格式的转换工具(Video to GIF)
一.背景 最近想把一些Android Demo的运行效果图获取下来,但是一直使用真机进行调试,在电脑上不好截取一段gif动画.而之前使用模拟器的时候可以使用 GifCam 工具进行屏幕动画截取.Gif ...
- 我的Android进阶之旅------>Android利用温度传感器实现带动画效果的电子温度计
要想实现带动画效果的电子温度计,需要以下几个知识点: 1.温度传感器相关知识. 2.ScaleAnimation动画相关知识,来进行水印刻度的缩放效果. 3.android:layout_weight ...
- 我的Android进阶之旅------> Android在TextView中显示图片方法
面试题:请说出Android SDK支持哪些方式显示富文本信息(不同颜色.大小.并包含图像的文本信息),并简要说明实现方法. 答案:Android SDK支持如下显示富文本信息的方式. 1.使用Tex ...
- 我的Android进阶之旅------>Android疯狂连连看游戏的实现之实现游戏逻辑(五)
在上一篇<我的Android进阶之旅------>Android疯狂连连看游戏的实现之加载界面图片和实现游戏Activity(四)>中提到的两个类: GameConf:负责管理游戏的 ...
- 我的Android进阶之旅------>Android疯狂连连看游戏的实现之加载界面图片和实现游戏Activity(四)
正如在<我的Android进阶之旅------>Android疯狂连连看游戏的实现之状态数据模型(三)>一文中看到的,在AbstractBoard的代码中,当程序需要创建N个Piec ...
- 我的Android进阶之旅------>Android疯狂连连看游戏的实现之状态数据模型(三)
对于游戏玩家而言,游戏界面上看到的"元素"千变万化:但是对于游戏开发者而言,游戏界面上的元素在底层都是一些数据,不同数据所绘制的图片有所差异而已.因此建立游戏的状态数据模型是实现游 ...
- 我的Android进阶之旅------>Android疯狂连连看游戏的实现之开发游戏界面(二)
连连看的游戏界面十分简单,大致可以分为两个区域: 游戏主界面区 控制按钮和数据显示区 1.开发界面布局 本程序使用一个RelativeLayout作为整体的界面布局元素,界面布局上面是一个自定义组件, ...
随机推荐
- MSSQL站库分离情况的渗透思路
本文转自:http://bbs.blackbap.org/thread-6203-1-2.html 1. 服务器属内网环境,站库分离,通过web.config找到数据库服务库SA帐号密码,成功添加用户 ...
- @classmethod, @staticmethod和@property这三个装饰器的使用对象是在类中定义的函数。下面的例子展示了它们的用法和行为:
class MyClass(object): def __init__(self): self._some_property = "properties are nice" sel ...
- ionic准备之angular基础——dom操作相关(6)
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...
- 熟悉jauery库中的构造函数 jQuery()
如果调用构造函数 jQuery() 时传入的参数不同,创建 jQuery 对象的逻辑也会随之不同.实际上构造函数 jQuery() 有 7 种用法,下面一一举例 1.jQuery( selector ...
- NYOJ 257 郁闷的C小加(一)
郁闷的C小加(一) 时间限制:1000 ms | 内存限制:65535 KB 难度: 描写叙述 我们熟悉的表达式如a+b.a+b*(c+d)等都属于中缀表达式.中缀表达式就是(对于双目运算符来说) ...
- 【Django】01_创建一个简单的项目
1.创建Django项目 点击:file-->new project,出现下面的对话框.选择Django栏目,输入项目名称, 选择python解释器版本,点击create创建. Django将自 ...
- [转载]Error -27796: Failed to connect to server
原文地址:Error -27796: Failed to connect to server "test.shunde.gov.cn:80"作者:蓝小C 问题描述: 使用Loa ...
- oracle经常使用函数(1)
1.返回与指定的字符相应的十进制数 select ascii('A') A,ascii('z') a,ascii('12') 一打,ascii(' ') kg from dual; 2.返回与指定十进 ...
- C# 接口的隐式与显示实现说明
以前在用到接口时,从来没注意到接口分为隐式实现与显示实现.昨天在浏览博客时看到相关内容,现在根据自己的理解记录一下,方便日后碰到的时候温习温习. 通俗的来讲,"显示接口实现"就是使 ...
- linux 内存分析
http://blog.yufeng.info/archives/2456 这篇文章不错 值得看 http://www.361way.com/memory-analysis/5018.html