I have two android applications that I have developed. I need to compare the two app’s for a project and I am trying to find tools that will allow me to capture data about the applications such as computational use in terms of CPU/memory/data transfer etc. Also is there anyway to compare the different effects the apps would have on battery usage?
Thanks,
For profiling CPU usage in your app (like percentage of time spend in individual methods), check out traceview. It’s an executable in your tools directory that comes with the Android SDK.
For memory usage, you can use Eclipse Memory Analyzer (MAT) (there’s a standalone option if you prefer another IDE).
For battery usage, there’s a project called PowerTutor which helps estimate power consumed by the CPU, network interface, display, and GPS.