安卓:测试READ_LOGS许可 [英] Android: test the READ_LOGS permission

查看:789
本文介绍了安卓:测试READ_LOGS许可的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要测试使用Android中的READ_LOGS权限。是否有人可以提出一个简单的code,上面写着需要使用此权限的一些低级别的日志?

I want to test the use of the READ_LOGS permission in Android. Can someone please suggest a simple code that reads some low level log requiring the use of this permission ?

推荐答案

您可以学习logcat的浏览器为例,在可以跟踪你的logcat并获取这需要价值READ_LOGS许可,

You can study the example of logcat viewer, in that you can trace your logcat and fetch the value which required READ_LOGS permission,

看到例如这里

这篇关于安卓:测试READ_LOGS许可的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆