using TraceView

by rajorshi » Fri, 23 Apr 2010 17:07:38 GMT


Sponsored Links
 Hi,
I have recently started working on an app which has both Java and
native components. I am trying to generate trace information for both
components using Debug.startMethodTracing("myapp") and
Debug.startNativeTracing() alternately. However, both are behaving
unexpectedly. When I use Debug.startMethodTracing("myapp"), I can see
a file "/sdcard/myapp.trace" being created but it is always empty no
matter how long I run my app. When I use Debug.startNativeTracing()
and start the emulator with the -trace <tracename> switch, I see a
message saying "Trace started", but when I try to run my app, the
emulator crashes. Am I missing something obvious here? How do I debug
this problem?

Thanks for any help.

--



Other Threads

1. Do we need to call System.gc() ?

Hi,

Do we need to call System.gc() to indicate that system should do a garbage
collection or just let system to choose when to collect garbage and free it?

Because my app will random FCs on certain phones, but if I add some calls to
System.gc(), then there were no FCs.

Thanks & BRs,

Alex

-- 

2. AutocompleteTextView

Hi , all. Can any one give me a example or source code of using
AutocompleteTextView, I met a lot problems of using this view. Thanks.

--~--~---------~--~----~------------~-------~--~----~

3. Camera Porting

4. Traceview, permissions, and java.lang.RuntimeException: file open failed

5. On screen orientation changes activity restarted.

6. Can anyone call TextToSpeech in your class, not in Activity?

7. VOOT: pejing member rayon surabaya