Android Hacks - Hack59

  • Published on
    24-May-2015

  • View
    1.126

  • Download
    0

Embed Size (px)

DESCRIPTION

Android Hacks & ()http://www.oreilly.co.jp/books/9784873114569/

Transcript

  • 1. ANDROID HACKS #59 Traceview Twitter : @pfkawara Blog : http://kawara-tan.blogspot.com/ 09/19/11

2.

    • Android Hacks
    • http://www.oreilly.co.jp/books/9784873114569/

09/19/11 3.

  • Traceview
  • Traceview
    • SD
    • Trace
    • Trace
  • Traceview
    • Traceview

09/19/11 4. 1. Traceview 09/19/11 5. 1.

  • Android
  • Trace VM
    • SD
    • Trace
    • Trace

09/19/11 Traceview: A Graphical Log Viewer http://developer.android.com/guide/developing/tools/traceview.html 6. 2. Traceview 09/19/11 7. 1. SD

  • Trace SD SD ( )
  • SD
  • SD
    • tools mksdcard
      • $> mksdcard

09/19/11 8. 1. SD

  • AVD SD
    • Eclipse -> Android SDKAVD
    • SD Card
    • Edit AVD

09/19/11 9. 2. Trace

  • Java
    • Debug.startMethodTracing(string) Trace
      • trace
      • ( /sdcard)
        • /sdcard /mnt/sdcard
    • Debug.stopMethodTracng() Trace
  • start () Activity onCreate() stop () onDestroy()

09/19/11 10. 2. Trace

  • Permission
    • SD Permission
      • Permission Denied
    • AndroidManifest.xml

09/19/11 11. 2. Trace

  • sdcard trace
    • Eclipse DDMS

09/19/11 12. 2. Trace

  • startMethodTrace() stopMethodTrace() LogCat

09/19/11 13. 3. Trace

  • SD trace
    • adb pull trace

09/19/11 14. 3. Traceview 09/19/11 15. 1. Traceview

  • tools traceview
    • trace

09/19/11 16. 2.

  • Traceview
  • ( )

09/19/11 17. 3.

  • Traceview

09/19/11 18. 3.

09/19/11 name Inclusive Incl% Inclusive Exclusive Excl% Exclusive Calls + Recur Calls/Total + Time/Call 19. 4.

  • Traceview
    • Excl% ->
    • Excl% -> Incl% Incl%

09/19/11 20. URL

  • Android Developers
    • http://developer.android.com/intl/ja/index.html
  • Android SD
    • http://www.usefullcode.net/2010/12/androidsd.html
  • Android1.6 traceview
    • http://blog.livedoor.jp/sylc/archives/1478471.html
  • Android TraceView
    • http://www.taosoftware.co.jp/blog/2009/11/android_traceview.html

09/19/11