在Android中使用跟踪视图

在Android中使用跟踪视图,android,Android,我想知道何时何地可以有效地使用跟踪视图 我真的很困惑在应用程序中该在哪里使用它 感谢您的帮助。您好,请将此代码放入您的应用程序中 // start tracing to "/sdcard/calc.trace" Debug.startMethodTracing("Name of yours"); // ... // stop tracing Debug.stopMethodTracing(); 它将跟踪详细信息存储在SD卡中 有关更多详细信息,请参阅下面的链接

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

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


感谢您的帮助。

您好,请将此代码放入您的应用程序中

  // start tracing to "/sdcard/calc.trace"
Debug.startMethodTracing("Name of yours");
// ...
// stop tracing
Debug.stopMethodTracing();
它将跟踪详细信息存储在SD卡中

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