问题描述
如果是的话,怎么样?难道logcat的同时记录事件,如启动应用程序的时间自己,或者应用程序必须使用类似Log.v(APP_NAME,消息)的应用程序?
If yes, then how?Does Logcat also log events like starting time of application on its own, or the application has to use something like Log.v(App_name,message) at the start of the application?
推荐答案
完全Sashi:aLogCat是basical,但如果你想自己的读者,对于这样的特殊权限:的。
exactly Sashi : aLogCat is basical, but if you want your own reader, there is a special permission for this : Read_logs.
您可以看到的至少是从ActivityManager的条目:看起来像这样大约
The least you can see is an entry from the ActivityManager : looking like this approx.
- Timestamp - INFO/ActivityManager(7703): Starting: Intent {act=android.intent.action.MAIN
cat= [android.intent.category.LAUNCHER]cmp=com.lemonde.androidapp/.SplashActivity
bnds=[5,553][115,671] } from pid 7786
这里是href="http://www.helloandroid.com/tutorials/reading-logs-programatically" rel="nofollow">有趣的教程的 祝你好运! 这篇关于我可以看到在Android手机本身的logcat,没有它连接到电脑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!