安卓:Effecient方式来阅读logcat的输出 [英] Android: Effecient way to read logcat output

查看:153
本文介绍了安卓:Effecient方式来阅读logcat的输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何才能读取正在运行的进程的输出以最有效的方式。

How can one read the output of a running process in the most efficient manner

让我解释什么,我想要的目的。

Let me explain what i am trying to achieve.

我想读通过我的应用程序的logcat在手机上

I am trying to read logcat via my app on the phone

我希望把它使得在logcat中的任何更新立即反映和应用程序是有效的,一样都不能少电池消耗。

i want to make it such that any update in the logcat is instantly reflected and the app is efficient , like less battery consumption.

推荐答案

android-记录可能是你的兴趣。它的一个开源的应用程序,允许你从你的手机上的应用程序读取logcat的。我敢肯定,你会发现你需要在这个程序中code。

android-logger may be of interest to you. Its an open source app that allows you to read logcat from an app on your phone. I'm sure you will find the code you need in this app.

这篇关于安卓:Effecient方式来阅读logcat的输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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