I often doubt between two or more forms of doing something. In Android, I try to do it the way more efficent, the way in which the processor uses less resources and RAM.
How I can measure the cpu and RAM consumption of an application in order to compare different methods?
I often doubt between two or more forms of doing something. In Android, I
Share
You could profile your application. The Android SDK comes with traceview and the instructions are pretty good. You could also watch memory allocations from DDMS.