Profiling with Traceview using the Android SDK

I noticed my seekbars weren’t responsive or fluid so I used the profiler to check what was wrong.  I swiped the seekbar 3 times and you clearly see that SQLLite was the problem:

image

I improved the code and the only spike was the initialization of the SQL database which can be seen in both traces:

image