Android tracing and profiling

by Horia » Wed, 18 Jun 2008 16:56:47 GMT

Sponsored Links

The emulator and API provides a couple of ways of tracing and
profiling your applications:
1. the android.os.Debug provides some methods like:
startMethodTracing(), startNativeTracing()
2. the emulator could be run with "-trace" option in order to later
accept the start tracing command (F9)

The problem is nativeTracing (started by F9 or startNativeTracing()
method) generates some files I don't know how to use:

Does anyone know how can I view the contents of these files ?(they are
binaries, not ascii)



Android tracing and profiling

by Megha Joshi » Thu, 19 Jun 2008 03:14:50 GMT

 The tools to process and view these files are not shipped with the current
SDK. So , the native tracing isn't supported in the SDK yet.  You can only
use the method tracing for now.


Sponsored Links

Android tracing and profiling

by Horia » Fri, 20 Jun 2008 02:40:50 GMT

 Ok Joshi,


Other Threads

1. Possible to query ContentResolver for People AND their Addresses?

I would like to have a view where I show the People and the Location
where they are from in the List View.  Is this possible?  Or do I have
to drill into each user to get their details?


2. My app is getting killed while I launch an external intent

That is the normal behavior -- your app is in the background, not relevant
to what the user is currently doing, so its process may be killed to use
memory elsewhere.  You deal with this by implementing onSaveInstanceState()
to note anything to need to remember and collecting that from the state you
later receive in onCreate().

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


3. FYI - Android LiveCD, VMware

4. make adt failed with android source coe in unbuntu

5. Gallery thumbnail not updating after change of image

6. Launch the WebBrowser with intent with a Button gives NullPointer Exception

7. RuntimeException: Canvas: trying to use a recycled bitmap