Need help on profiling in Android
<p>I have developed one android application and now im trying to do the profiling of my android application. so for this i got a good link here</p>

<p><a href="http://developer.android.com/guide/developing/debugging/debugging-tracing.html#format" rel="nofollow">http://developer.android.com/guide/developing/debugging/debugging-tracing.html#format</a></p>

<p>Using this info im trying to profile my activity using Debug class</p>

<p>that is in the oncreate() method of my activity. im using</p>

<pre><code>            Debug.startMethodTracing("calc");
</code></pre>

<p>to start method tracing and add the traces to calc.trace</p>

<p>and im stopping the method tracing in my onDestroy()</p>

<pre><code>            Debug.stopMethodTracing();
</code></pre>

<p><strong>My problem is</strong>  when i check the calc.trace, the file is always of 0 size . no traces have been updated i dont no why?</p>

<p>please help me on this</p>

<p>Note : in the manifest i have added the required permission for this.</p>

<p>Thanks</p>
