??????? TraceView???????
????Traceview??android????????????????????????????????????ν??????????????????????????????????????????嵽method??
???????? TraceView??????÷???
????TraceView??????????????????????????
????1?? ?????????
??????????????????
????Debug.startMethodTracing(“Tracelog”);
????Debug.stopMethodTracing();
???????????????????????AndroidMainfest.xml?е?SD?????д???????????
??????????????????SD???????????Tracelog????????adb pull??????????????XP?????????android sdk??tools???????traceview Tracelog????????????ν??棬????????ν??????????????????????;
????2?? Eclipse?????
????Eclipse???traceview?????????DDMS?ж????????????y????????°??

???????????traceview??????????????????Eclipse?????????????1?е??????ν???;
????3?? adb ?????????
????adb shell am profile start
????adb shell am profile stop
????PROCESS_ID????????????????ps????????TRACE_FILE?????洢??Trcaelog?????
???????????????????????????TRACE_FILE?????adb pull??????????????XP?????????android sdk??tools???????traceview Tracelog????????????ν??棬????????ν??????????????????????;
???????? TraceView???????
???????????????????ν????????????

??????? TraceView?????????????
?????????????????????????е???????????????????????????????????TraceView?????
???????????????£?
????1?? ???Eclipse???????????????;
????2?? ?????????????????????????DDMS????а???????;
????3?? ???Start profile method???;
????4?? ???????д??????????????????????????????????;
????5?? ???DDMS?е?stop profile method??????????? Eclipse??????????????ν??檔
??????????????????(time/calls)???С???????????????:

??????????????DetailActivityForPicture.onCreat()?????????????????4.034??????????1?Σ?????????? ?????????????????????????У??????DetailActivityForPicture.initInfo()?????????0.9s????????? ??????????????????????initInfo()??????????????
??????????????DetailActivityForPicture.initInfo()???????????????????????

??????????????????initFavoriteButton()????????0.4s?????β??????????????

????DialogBoxUtil.getFavoriteWindow()??FavoritePropertyModel.???????????????????????????????????????????ο???????????????????????