我想知道何时何地可以有效使用跟踪视图。

我真的很困惑在应用程序中在哪里使用它。

感谢在...

最佳答案

嗨,将此代码放在您的应用程序中

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


它将跟踪详细信息存储在SDCArd中

有关更多详细信息,请参见下面的链接

http://developer.android.com/guide/developing/debugging/debugging-tracing.html

关于android - 在Android中使用跟踪 View ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/9294852/

10-10 04:07