Getting Started With Android


Published on

FSL Android: Introduction and Workshop
oleh Ibnu Sina Wardy (CTO GITS Indonesia)

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Getting Started With Android

  1. 1. Free Saturday Lesson
  2. 2. what is android Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language, since 2008. best mobile platform application powered by Google
  3. 3. features <ul><li>Application framework enabling reuse and replacement of components </li></ul><ul><li>Dalvik virtual machine optimized for mobile devices </li></ul><ul><li>Integrated browser based on the open source WebKit engine </li></ul><ul><li>Optimized graphics powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional) </li></ul><ul><li>SQLite for structured data storage </li></ul><ul><li>Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF) </li></ul><ul><li>GSM Telephony (hardware dependent) </li></ul><ul><li>Bluetooth, EDGE, 3G, and WiFi (hardware dependent) </li></ul><ul><li>Camera, GPS, compass, and accelerometer (hardware dependent) </li></ul><ul><li>Rich development environment including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE </li></ul>
  4. 4. getting started with android (1) <ul><li>Eclipse installed as GUI editor android platform, go to , Eclipse Classic, GanyMede Packages, Eclipse Classic 3.4.2 </li></ul><ul><li>Android SDK installed as emulator, basic platform and environment android style, go to </li></ul><ul><li>Eclipse Update Manager install plugins for Android Development Tools (ADT) go to link , Eclipse – Help – Software Updates, Available Software Tab, Add Site </li></ul><ul><li>Open Eclipse, Window – Preferences. Configure Android path installation from folder android SDK downloaded earlier. </li></ul><ul><li> </li></ul>
  5. 5. getting started with android (2) Picture Item 3 guidance
  6. 6. getting started with android (3) Picture Item 3 guidance
  7. 7. getting started with android (4) Picture Item 4 guidance
  8. 8. getting started with android (5) Picture Item 4 guidance
  9. 9. getting started with android (6) Install virtual devices
  10. 10. Create basic application (1)
  11. 11. Create basic application (2) <ul><li>Project Name: HelloWorld </li></ul><ul><li>Build Target: Android 2.1 </li></ul><ul><li>Application Name: HelloWorld </li></ul><ul><li>Package Name: </li></ul><ul><li>Create Activity: HelloActivity </li></ul><ul><li>Min SDK Version: 7 </li></ul>
  12. 12. Create basic application (3) run application by emulator
  13. 13. Create basic application (4) on emulator
  14. 14. Structure Android Project (1) Project Name: HelloWorld Src => Source Script Gen => Autogenerate Id Variable Local Asset => Storage File (movie, sound etc) Res->drawable => Storage picture layout Res->layout => XML layout Res->string => definition variable global AndroidManifest.xml
  15. 15. Structure Android Project (2) AndroidManifest.xml
  16. 16. Structure Android Project (3) AndroidManifest.xml
  17. 17. Structure Android Project (4) AndroidManifest.xml – Permission
  18. 18. Structure Android Project (5) Layout -> main.xml
  19. 19. Structure Android Project (6) Res->Drawable, gen->
  20. 20. Structure Android Project (7) Src-> HelloActivity
  21. 21. Structure Android Project (8) Src-> HelloActivity
  22. 22. Next Sample HelloWorld LoginActivity
  23. 23. Next Sample HelloWorld login.xml
  24. 24. Next Sample HelloWorld login.xml
  25. 25. Next Sample HelloWorld login.xml
  26. 26. Next Sample HelloWorld AndroidManifest.xml
  27. 27. Next Sample HelloWorld Running by emulator
  28. 28. Next Sample HelloWorld Running by emulator
  29. 29. Guidance beginner developer
  30. 30. WebView <ul><li>HTML 5 </li></ul><ul><li>Multiplatform </li></ul><ul><li>Sencha Touch, etc </li></ul>
  31. 31. Summar y <ul><li>Android Platform Description </li></ul><ul><li>Installation GUI & Editor </li></ul><ul><li>Create First Android App </li></ul><ul><li>Structure Android Project </li></ul><ul><li>Improvement First Android App </li></ul><ul><li>Developer Guidance </li></ul>