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. Getting widget size

I'm writing a widget at the moment. It's supposed to fill one cell, so
I've set the size to be 72dp by 72dp. The layout has a linear layout
containing a 72x72dp ImageView.

In onUpdate(), I call views.setImageViewBitmap with a 72px x 72px
bitmap. This worked fine under Android 1.5 on my G1, but now I have a
Nexus One, the image gets stretched to fill the cell, and looks

What is the correct, device independent way, to work out how big the
bitmap should be?

James Ots


2. read the inbox messages

Hi  everyone

Can we read the android SMS  messages programmatically in android.


3. Salam Member Baru

4. Proses flashing Spica dari JC2 ke JD1 "stuck"

5. where to find the image of microphone icon?

6. Petisi Milestone Open Bootloader

7. Where to take question legal questions related 3rd party IP?