在Android中使用跟踪视图 [英] Using Trace view in Android

查看:89
本文介绍了在Android中使用跟踪视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道在何时何地,我们可以使用跟踪查看有效。

i would like to know when and where we can use the Trace View effectively.

我真的很困惑在哪里使用这个应用程序。

i really confused where to use this in application.

在此先感谢副......

Thanks in adv...

推荐答案

喜把这个code。在您的应用程序

hi put this code in your application

  // start tracing to "/sdcard/calc.trace"
Debug.startMethodTracing("Name of yours");
// ...
// stop tracing
Debug.stopMethodTracing();

将存储在SD卡的跟踪细节

it will store the trace details in the SDCArd

有关详细信息,请参阅以下链接

for more details see the below link

<一个href="http://developer.android.com/guide/developing/debugging/debugging-tracing.html">http://developer.android.com/guide/developing/debugging/debugging-tracing.html

这篇关于在Android中使用跟踪视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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