Android权限操作之uses-permission详解,Android入门你值得拥有

android.permission.ACCESS_SURFACE_FLINGER

允许程序使用SurfaceFlinger底层特性(Allows an application to useSurfaceFlinger’s low level features)

android.permission.ACCESS_WIFI_STATE

允许程序访问Wi-Fi网络状态信息(Allows applications to accessinformation about Wi-Fi networks)

android.permission.ADD_SYSTEM_SERVICE

允许程序发布系统级服务(Allowsan application to publish system-level services).

android.permission.BATTERY_STATS

允许程序更新手机电池统计信息(Allowsan application to update the collected battery statistics)

android.permission.BLUETOOTH

允许程序连接到已配对的蓝牙设备(Allowsapplications to connect to paired bluetooth devices)

android.permission.BLUETOOTH_ADMIN

允许程序发现和配对蓝牙设备(Allowsapplications to discover and pair bluetooth devices)

android.permission.BRICK

请求能够禁用设备(非常危险)(Required to be able to disable thedevice (very *erous!).)

android.permission.BROADCAST_PACKAGE_REMOVED

允许程序广播一个提示消息在一个应用程序包已经移除后(Allowsan application to broadcast a notification that an application

package has been removed)

android.permission.BROADCAST_STICKY

允许一个程序广播常用intents(Allowsan application to broadcast sticky intents)

android.permission.CALL_PHONE

允许一个程序初始化一个电话拨号不需通过拨号用户界面需要用户确认(Allowsan application to initiate a phone call without going through the Dialer userinterface for the user to confirm the call being placed.)

android.permission.CALL_PRIVILEGED

允许一个程序拨打任何号码,包含紧急号码无需通过拨号用户界面需要用户确认(Allowsan application to call any phone number, including emergency numbers, withoutgoing through the Dialer user interface for the user to confirm the call beingplaced)

android.permission.CAMERA

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

android.permission.CHANGE_COMPONENT_ENABLED_STATE

允许一个程序是否改变一个组件或其他的启用或禁用(Allowsan application to change whether an application component (other than its own)is enabled or not. )

android.permission.CHANGE_CONFIGURATION

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

android.permission.CHANGE_NETWORK_STATE

允许程序改变网络连接状态(Allowsapplications to change network connectivity state)

android.permission.CHANGE_WIFI_STATE

允许程序改变Wi-Fi连接状态(Allows applications to change Wi-Ficonnectivity state)

android.permission.CLEAR_APP_CACHE

允许一个程序清楚缓存从所有安装的程序在设备中(Allowsan application to clear the caches of all installed applications on the device.)

android.permission.CLEAR_APP_USER_DATA

允许一个程序清除用户设置(Allowsan application to clear user data)

android.permission.CONTROL_LOCATION_UPDATES

允许启用禁止位置更新提示从无线模块(Allowsenabling/disabling location update notifications from the radio. )

android.permission.DELETE_CACHE_FILES

允许程序删除缓存文件(Allowsan application to delete cache files)

android.permission.DELETE_PACKAGES

允许一个程序删除包(Allowsan application to delete packages)

android.permission.DEVICE_POWER

允许访问底层电源管理(Allowslow-level access to power management)

android.permission.DIAGNOSTIC

允许程序RW诊断资源(Allows applications to RW to diagnosticresources. )

android.permission.DISABLE_KEYGUARD

允许程序禁用键盘锁(Allowsapplications to disable the keyguard )

android.permission.DUMP

允许程序返回状态抓取信息从系统服务(Allowsan application to retrieve state dump information from system services.)

android.permission.EXPAND_STATUS_BAR

允许一个程序扩展收缩在状态栏,android开发网提示应该是一个类似Windows Mobile中的托盘程序(Allows an application to expand orcollapse the status bar. )

android.permission.FACTORY_TEST

作为一个工厂测试程序,运行在root用户(Run as a manufacturer test application,running as the root user. )

android.permission.FLASHLIGHT

访问闪光灯,android开发网提示HTC Dream不包含闪光灯(Allowsaccess to the flashlight )

android.permission.FORCE_BACK

允许程序强行一个后退操作是否在顶层activities(Allowsan application to force a BACK operation on whatever is the top activity. )

android.permission.FOTA_UPDATE

暂时不了解这是做什么使用的,android开发网分析可能是一个预留权限.

android.permission.GET_ACCOUNTS

访问一个帐户列表在AccountsService中(Allows access to thelist of accounts in the Accounts Service)

android.permission.GET_PACKAGE_SIZE

允许一个程序获取任何package占用空间容量(Allows an application to find out thespace used by any package. )

android.permission.GET_TASKS

允许一个程序获取信息有关当前或最近运行的任务,一个缩略的任务状态,是否活动等等(Allowsan application to get information about the currently or recently runningtasks: a thumbnail representation of the tasks, what activities are running init, etc.)

android.permission.HARDWARE_TEST

允许访问硬件(Allowsaccess to hardware peripherals. )

android.permission.INJECT_EVENTS

允许一个程序截获用户事件如按键、触摸、轨迹球等等到一个时间流,android开发网提醒算是hook技术吧(Allowsan application to inject user events (keys, touch, trackball) into the eventstream and deliver them to ANY window.)

android.permission.INSTALL_PACKAGES

允许一个程序安装packages(Allowsan application to install packages. )

android.permission.INTERNAL_SYSTEM_WINDOW

允许打开窗口使用系统用户界面(Allowsan application to open windows that are for use by parts of the system userinterface. )

android.permission.INTERNET

允许程序打开网络套接字(Allowsapplications to open network sockets)

android.permission.MANAGE_APP_TOKENS

允许程序管理(创建、催后、 z- order默认向z轴推移)程序引用在窗口管理器中(Allowsan application to manage (create, destroy, Z-order) application tokens in thewindow manager. )

android.permission.MASTER_CLEAR

目前还没有明确的解释,android开发网分析可能是清除一切数据,类似硬格机

android.permission.MODIFY_AUDIO_SETTINGS

允许程序修改全局音频设置(Allowsan application to modify global audio settings)

android.permission.MODIFY_PHONE_STATE

允许修改话机状态,如电源,人机接口等(Allowsmodification of the telephony state – power on, mmi, etc. )

android.permission.MOUNT_UNMOUNT_FILESYSTEMS

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

android.permission.PERSISTENT_ACTIVITY

允许一个程序设置他的activities显示(Allow an application to make itsactivities persistent. )

android.permission.PROCESS_OUTGOING_CALLS

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

android.permission.READ_CALENDAR

允许程序读取用户日历数据(Allowsan application to read the user’s calendar data.)

android.permission.READ_CONTACTS

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

android.permission.READ_FRAME_BUFFER

允许程序屏幕波或和更多常规的访问帧缓冲数据(Allowsan application to take screen shots and more generally get access to the framebuffer data)

android.permission.READ_INPUT_STATE

允许程序返回当前按键状态(Allowsan application to retrieve the current state of keys and switches. )

android.permission.READ_LOGS

允许程序读取底层系统日志文件(Allowsan application to read the low-level system log files. )

android.permission.READ_OWNER_DATA

允许程序读取所有者数据(Allowsan application to read the owner’s data)

android.permission.READ_SMS

允许程序读取短信息(Allowsan application to read SMS messages.)

android.permission.READ_SYNC_SETTINGS

允许程序读取同步设置(Allowsapplications to read the sync settings)

android.permission.READ_SYNC_STATS

允许程序读取同步状态(Allowsapplications to read the sync stats)

android.permission.REBOOT

请求能够重新启动设备(Requiredto be able to reboot the device. )

android.permission.RECEIVE_BOOT_COMPLETED

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

android.permission.RECEIVE_MMS

自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

深知大多数初中级安卓工程师,想要提升技能,往往是自己摸索成长,但自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!

因此收集整理了一份《2024年最新Android移动开发全套学习资料》送给大家,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
img
img
img
img

由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频
如果你觉得这些内容对你有帮助,可以添加下面V无偿领取!(备注Android)
img

最后

代码真的是重质不重量,质量高的代码,是当前代码界提倡的,当然写出高质量的代码肯定需要一个相当高的专业素养,这需要在日常的代码书写中逐渐去吸收掌握,谁不是每天都在学习呀,目的还不是为了一个,为实现某个功能写出高质量的代码。

所以,长征路还长,大家还是好好地做个务实的程序员吧。

最后,小编这里有一系列Android提升学习资料,有兴趣的小伙伴们可以来看下哦~

我的 Android 学习,面试文档,视频收集大整理

视频**
如果你觉得这些内容对你有帮助,可以添加下面V无偿领取!(备注Android)
[外链图片转存中…(img-vq3My7Tn-1711370273240)]

最后

代码真的是重质不重量,质量高的代码,是当前代码界提倡的,当然写出高质量的代码肯定需要一个相当高的专业素养,这需要在日常的代码书写中逐渐去吸收掌握,谁不是每天都在学习呀,目的还不是为了一个,为实现某个功能写出高质量的代码。

所以,长征路还长,大家还是好好地做个务实的程序员吧。

最后,小编这里有一系列Android提升学习资料,有兴趣的小伙伴们可以来看下哦~

我的 Android 学习,面试文档,视频收集大整理

  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值