Dominik Helleberg | inovex GmbHAndroid Developer Tools
Dominik HellebergMobile DevelopmentAndroidHTML5http://dominik-helleberg.de/+http://twitter.com/_cirrus_
Emulator
Emulator VM-AccelerationAndroid2.3API 10x86Android4.0.3API 15x86intel HAXMMac OSX(intel)Windows(intel)
Emulator VM-AccelerationAndroid2.3API 10x86Android4.0.3API 15x86KVMLinux (intel + AMD)
Emulator GPU-AccelerationOpenGLWindows / Linux / Mac OSXAndroid 4API >=15x86 / ARM
Emulator KompatibilitätAPI Level VM GPU2.2 (API 8)2.3 (API 10)3.X (API 11-13)4.0.3 (API 15)4.1.1 (API 16)
Emulator HW-Acceleration770101795360020004000600080001000012000Emulator Emulator VM + GPU Galaxy NexusAnTuTu Benchmark
Emulator HW-Acceleration
Emulator Skalierung
Emulator Skalierung
Emulator Telnet interface
Emulator ToolsADB
Hierarchy Viewer
Allocation Tracker
shell tools
dumpsysSurfaceFlinger bluetooth_a2dp entropymeminfo samplingprofiler usbaccessibility clipboard gfxinfomount search vibrat...
dumpsys meminfo – 4.0.3Applications Memory Usage (kB):Uptime: 3419841 Realtime: 3419841** MEMINFO in pid 1866 [de.inovex.s...
dumpsys meminfo – 2.3.3Applications Memory Usage (kB):Uptime: 1195390 Realtime: 1195390** MEMINFO in pid 1323 [de.inovex.s...
procrankPID Vss Rss Pss Uss cmdline7924 50172K 50172K 28401K 24164K de.inovex.samples1015 48056K 48056K 25635K 21348K com....
am display-size 600x800
traceview / systrace / tracer
traceview
systrace
systrace
tracer
lint
Hprof / MAT
ddmlib.jarADBddmlib.jardevice.getBatteryLevel();	device.getScreenshot();	device.installPackage(...);
http://www.flickr.com/photos/huskyte/7512877940/in/photostream/http://www.flickr.com/photos/gemmoth/3426209850/sizes/z/in/...
DANKE!
Android developer tools
Upcoming SlideShare
Loading in …5
×

Android developer tools

281 views
235 views

Published on

Fast monatlich veröffentlicht das Google SDK Team Updates der Android Development Tools. Leider hinken Dokumentation und Beispiele oft hinterher. Dabei sind die Tools mächtige Verbündete bei der Suche nach Performance- oder Speicherproblemen. Diese Session zeigt anhand von konkreten Beispielen, wie man Fehlern auf die Spur kommt und welche versteckten Helfer in den Tiefen des SDKs verborgen sind.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
281
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android developer tools

  1. 1. Dominik Helleberg | inovex GmbHAndroid Developer Tools
  2. 2. Dominik HellebergMobile DevelopmentAndroidHTML5http://dominik-helleberg.de/+http://twitter.com/_cirrus_
  3. 3. Emulator
  4. 4. Emulator VM-AccelerationAndroid2.3API 10x86Android4.0.3API 15x86intel HAXMMac OSX(intel)Windows(intel)
  5. 5. Emulator VM-AccelerationAndroid2.3API 10x86Android4.0.3API 15x86KVMLinux (intel + AMD)
  6. 6. Emulator GPU-AccelerationOpenGLWindows / Linux / Mac OSXAndroid 4API >=15x86 / ARM
  7. 7. Emulator KompatibilitätAPI Level VM GPU2.2 (API 8)2.3 (API 10)3.X (API 11-13)4.0.3 (API 15)4.1.1 (API 16)
  8. 8. Emulator HW-Acceleration770101795360020004000600080001000012000Emulator Emulator VM + GPU Galaxy NexusAnTuTu Benchmark
  9. 9. Emulator HW-Acceleration
  10. 10. Emulator Skalierung
  11. 11. Emulator Skalierung
  12. 12. Emulator Telnet interface
  13. 13. Emulator ToolsADB
  14. 14. Hierarchy Viewer
  15. 15. Allocation Tracker
  16. 16. shell tools
  17. 17. dumpsysSurfaceFlinger bluetooth_a2dp entropymeminfo samplingprofiler usbaccessibility clipboard gfxinfomount search vibratoraccount connectivity hardwarenetpolicy sensorservice wallpaperactivity content input_methodnetstats simphonebook wifialarm country_detector iphonesubinfonetwork_management sip wifip2pappwidget cpuinfo ismsnfc statusbar windowaudio device_policy locationnotification telephony.registrybackup devicestoragemonitor media.audio_flingerpackage textservicesbattery diskstats media.audio_policypermission throttlebatteryinfo drm.drmManager media.cameraphone uimodebluetooth dropbox media.playerpower usagestats
  18. 18. dumpsys meminfo – 4.0.3Applications Memory Usage (kB):Uptime: 3419841 Realtime: 3419841** MEMINFO in pid 1866 [de.inovex.samples] **Shared Private Heap Heap HeapPss Dirty Dirty Size Alloc Free------ ------ ------ ------ ------ ------Native 1168 1024 1108 8492 7430 189Dalvik 6759 11204 6220 14599 14429 170Cursor 0 0 0Ashmem 3002 4 3000Other dev 4 0 0.so mmap 582 1724 112.jar mmap 0 0 0.apk mmap 152 0 0.ttf mmap 3 0 0.dex mmap 200 0 0Other mmap 498 12 24Unknown 669 668 624TOTAL 13037 14636 11088 23091 21859 359Objects
  19. 19. dumpsys meminfo – 2.3.3Applications Memory Usage (kB):Uptime: 1195390 Realtime: 1195390** MEMINFO in pid 1323 [de.inovex.samples] **native dalvik other totalsize: 8456 5379 N/A 13835allocated: 8425 2828 N/A 11253free: 6 2551 N/A 2557(Pss): 727 322 8415 9464(shared dirty): 1496 1872 6972 10340(priv dirty): 652 36 6720 7408ObjectsViews: 0 ViewRoots: 0AppContexts: 0 Activities: 0Assets: 2 AssetManagers: 2Local Binders: 6 Proxy Binders: 12Death Recipients: 1OpenSSL Sockets: 0SQLheap: 0 MEMORY_USED: 0
  20. 20. procrankPID Vss Rss Pss Uss cmdline7924 50172K 50172K 28401K 24164K de.inovex.samples1015 48056K 48056K 25635K 21348K com.android.launcher887 47492K 47492K 22768K 17040K system_server961 38732K 38732K 16637K 12372K com.android.systemui794 40040K 40040K 14686K 8736K zygote993 29860K 29860K 9293K 5452K com.android.phone974 28776K 28776K 8404K 4716Kcom.android.inputmethod.latin793 6832K 6832K 3660K 2760K /system/bin/surfaceflinger796 7292K 7292K 3412K 2196K /system/bin/mediaserver795 2892K 2892K 939K 524K /system/bin/drmserver790 1276K 1276K 559K 420K /system/bin/netd797 800K 800K 516K 460K /system/bin/dbus-daemon804 456K 456K 440K 440K /sbin/adbd788 904K 904K 412K 348K /system/bin/vold9050 600K 600K 355K 344K procrank792 916K 916K 340K 280K /system/bin/rild799 616K 616K 230K 188K /system/bin/keystore798 456K 456K 174K 160K /system/bin/installd
  21. 21. am display-size 600x800
  22. 22. traceview / systrace / tracer
  23. 23. traceview
  24. 24. systrace
  25. 25. systrace
  26. 26. tracer
  27. 27. lint
  28. 28. Hprof / MAT
  29. 29. ddmlib.jarADBddmlib.jardevice.getBatteryLevel(); device.getScreenshot(); device.installPackage(...);
  30. 30. http://www.flickr.com/photos/huskyte/7512877940/in/photostream/http://www.flickr.com/photos/gemmoth/3426209850/sizes/z/in/photostream/Credits
  31. 31. DANKE!

×