如何才能读取正在运行的进程的输出以最有效的方式。
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.
上一篇:带有 MIcrosoft Graph (accessToken) 的 firebase 身份验证身份验证、Graph、MIcrosoft、firebase
下一篇:使用 Microsoft Graph 创建日历事件:ErrorAccessDenied日历、事件、Microsoft、Graph