set | more # check the variables including shell-local variables(including shell functions) env | less # check the variables except shell-local variables(including shell functions)
a. python systrace.py gfx input view sched am wm dalvik freq idle power video app -b 40960 -t 10 -o traceout.html
Explaination of these categories: gfx - Graphics input - Input view - View System wm - Window Manager am - Activity Manager hal - Hardware Modules res - Resource Loading dalvik - Dalvik VM power - Power Management sched - CPU Scheduling freq - CPU Frequency idle - CPU Idle
b. Motion: Click icon of SimpleApplication to open it, click first time to change background as white, click sencond time to change background as black.