0
Android Development Tools Dominik Helleberg | inovex Gmbh
Dominik Helleberg Mobile Development Android HTML5   http://dominik-helleberg.de/+   http://twitter.com/_cirrus_
Emulator
Emulator VM-AccelerationAndroid                          Android  2.3                             4.0.3API 10             ...
Emulator VM-AccelerationAndroid                         Android  2.3                            4.0.3API 10               ...
Emulator GPU-Acceleration            Android 4            API >=15            x86 / ARM             OpenGL     Windows / L...
Emulator KompatibilitätAPI Level             VM   GPU2.2     (API 8)2.3     (API 10)3.X     (API 11-13)4.0.3    (API 15)4....
Emulator HW-Acceleration                   AnTuTu Benchmark12000                           101791000080006000             ...
Emulator HW-Acceleration„caution“ by Michael Raskop | www.flickr.com/photos/huskyte/7512877940/
Emulator Skalierung
Emulator Skalierung
Emulator Telnet interface
Emulator Tools ADB
shell tools
dumpsysSurfaceFlinger       bluetooth_a2dp         entropymeminfo              samplingprofiler       usbaccessibility    ...
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...
procrank PID      Vss      Rss      Pss      Uss cmdline 7924   50172K   50172K   28401K   24164K de.inovex.samples 1015  ...
am display-size 600x800
Hierarchy Viewer
Allocation Tracker
traceview / systrace / tracer„Longue pose A15 pont collège côté Cergy 2 RET“by GemMoth | http://www.flickr.com/photos/gemm...
traceview
systrace
systrace
tracer
lint
Hprof / MAT
ddmlib.jar   ddmlib.jar   ADBdevice.getBatteryLevel();	device.getScreenshot();	device.installPackage(...);
Sneak Preview ADT 21
Multi-Configuration-Preview
Templates
AVD – Device Defintions
Gradle Build Systembuildscript	  {	                      	  repositories	  {	  	  	  	  	  	  	  	  	  mavenCentral()	  	 ...
Linkshttp://tools.android.com/download/adt-21-previewhttps://plus.google.com/113735310430199015092/posts/XTKTamk4As8https:...
DANKE!http://inovex.mobi/wjax-2012/
Android Development Tools
Upcoming SlideShare
Loading in...5
×

Android Development Tools

714

Published on

WJAX 2012 München
Android development tools
#jaxcon

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
714
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
11
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Android Development Tools"

  1. 1. Android Development Tools Dominik Helleberg | inovex Gmbh
  2. 2. Dominik Helleberg Mobile Development Android HTML5 http://dominik-helleberg.de/+ http://twitter.com/_cirrus_
  3. 3. Emulator
  4. 4. Emulator VM-AccelerationAndroid Android 2.3 4.0.3API 10 API 15 x86 x86 intel HAXM Mac OSX Windows (intel) (intel)
  5. 5. Emulator VM-AccelerationAndroid Android 2.3 4.0.3API 10 API 15 x86 x86 KVM Linux (intel + AMD)
  6. 6. Emulator GPU-Acceleration Android 4 API >=15 x86 / ARM OpenGL Windows / Linux / Mac OSX
  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-Acceleration AnTuTu Benchmark12000 101791000080006000 536040002000 770 0 Emulator Emulator VM + GPU Galaxy Nexus
  9. 9. Emulator HW-Acceleration„caution“ by Michael Raskop | www.flickr.com/photos/huskyte/7512877940/
  10. 10. Emulator Skalierung
  11. 11. Emulator Skalierung
  12. 12. Emulator Telnet interface
  13. 13. Emulator Tools ADB
  14. 14. shell tools
  15. 15. 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.registry media.audio_flingerbackup devicestoragemonitor packagetextservices media.audio_policy media.camerabattery diskstats permission throttlebatteryinfo drm.drmManager phone uimodebluetooth dropbox media.playerpower usagestats
  16. 16. dumpsys meminfo – 4.0.3Applications Memory Usage (kB):Uptime: 3419841 Realtime: 3419841** MEMINFO in pid 1866 [de.inovex.samples] ** Shared Private Heap Heap Heap Pss Dirty Dirty Size Alloc Free ------ ------ ------ ------ ------ ------ Native 1168 1024 1108 8492 7430 189 Dalvik 6759 11204 6220 14599 14429 170 Cursor 0 0 0 Ashmem 3002 4 3000 Other 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 0 Other mmap 498 12 24 Unknown 669 668 624 TOTAL 13037 14636 11088 23091 21859 359
  17. 17. dumpsys meminfo – 2.3.3Applications Memory Usage (kB):Uptime: 1195390 Realtime: 1195390** MEMINFO in pid 1323 [de.inovex.samples] ** native dalvik other total size: 8456 5379 N/A 13835 allocated: 8425 2828 N/A 11253 free: 6 2551 N/A 2557 (Pss): 727 322 8415 9464 (shared dirty): 1496 1872 6972 10340 (priv dirty): 652 36 6720 7408 Objects Views: 0 ViewRoots: 0 AppContexts: 0 Activities: 0 Assets: 2 AssetManagers: 2 Local Binders: 6 Proxy Binders: 12Death Recipients: 1 OpenSSL Sockets: 0
  18. 18. procrank PID Vss Rss Pss Uss cmdline 7924 50172K 50172K 28401K 24164K de.inovex.samples 1015 48056K 48056K 25635K 21348K com.android.launcher 887 47492K 47492K 22768K 17040K system_server 961 38732K 38732K 16637K 12372K com.android.systemui 794 40040K 40040K 14686K 8736K zygote 993 29860K 29860K 9293K 5452K com.android.phone 974 28776K 28776K 8404K 4716Kcom.android.inputmethod.latin 793 6832K 6832K 3660K 2760K /system/bin/surfaceflinger 796 7292K 7292K 3412K 2196K /system/bin/mediaserver 795 2892K 2892K 939K 524K /system/bin/drmserver 790 1276K 1276K 559K 420K /system/bin/netd 797 800K 800K 516K 460K /system/bin/dbus-daemon 804 456K 456K 440K 440K /sbin/adbd 788 904K 904K 412K 348K /system/bin/vold 9050 600K 600K 355K 344K procrank 792 916K 916K 340K 280K /system/bin/rild 799 616K 616K 230K 188K /system/bin/keystore
  19. 19. am display-size 600x800
  20. 20. Hierarchy Viewer
  21. 21. Allocation Tracker
  22. 22. traceview / systrace / tracer„Longue pose A15 pont collège côté Cergy 2 RET“by GemMoth | http://www.flickr.com/photos/gemmoth/3426209850/
  23. 23. traceview
  24. 24. systrace
  25. 25. systrace
  26. 26. tracer
  27. 27. lint
  28. 28. Hprof / MAT
  29. 29. ddmlib.jar ddmlib.jar ADBdevice.getBatteryLevel(); device.getScreenshot(); device.installPackage(...);
  30. 30. Sneak Preview ADT 21
  31. 31. Multi-Configuration-Preview
  32. 32. Templates
  33. 33. AVD – Device Defintions
  34. 34. Gradle Build Systembuildscript  {    repositories  {                  mavenCentral()          }          dependencies  {                  classpath  com.android.tools.build:gradle:0.2            }  }  apply  plugin:  android    android  {          target  =  android-­‐15’  }    
  35. 35. Linkshttp://tools.android.com/download/adt-21-previewhttps://plus.google.com/113735310430199015092/posts/XTKTamk4As8https://dl.dropbox.com/u/231329/android/templatedocs/index.htmlhttps://github.com/jgilfelt/android-adt-templateshttp://tools.android.com/tech-docs/new-build-system/using-the-new-build-system
  36. 36. DANKE!http://inovex.mobi/wjax-2012/
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×