does anybody know whether i can stop the profiler from ddms programatically? I have a bit longer process and want to stop the profile after this process is done and not manually.
Is there any method to do this?
does anybody know whether i can stop the profiler from ddms programatically? I have
Share
If I understand the question correctly you can simply put the following methods in the code of your application:
All the traces are stored on
/sdcardYou can simply useadb pullcommand to download them:After that you can see the results using command monitor (if you use the old versions of Android tools then you should use
traceviewcommand. However, for newer version this command is also working):