是否可以从Android应用程序访问logcat,以便我可以显示一些内部信息?

是否可以从Android应用程序访问logcat,以便我可以显示一些内部信息?

问题描述:

亲爱的每个人,



是否可以从Android应用程序访问LogCat以便我可以显示一些内部信息?



我正在使用一个演示应用程序,它将显示来自logcat的日志,我可以从LogCat的android工作室看到所需的信息。



我尝试了什么:



到目前为止我没有任何代码,我只是想知道可以从中提取一些信息logcat并从我的应用程序中为用户显示。

Dear everybody,

Is it possible to access LogCat from an android app so that I can show some internal information?

I am working a demo app which will show logs from logcat, I can see the needed information from android studio of LogCat.

What I have tried:

so far I don't have any code, I just wanted to know that it is possible to pull some information from logcat and show for the user from my app.

Google搜索是您的朋友:是否可以从Android应用程序访问logcat - Google搜索 [ ^ ] - 给你很多答案......
Google search is your friend: Is it possible to access logcat from an android app - Google Search[^] - plenty of answers for you...