Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Android101

1,594 views

Published on

Getting started with the Android framework, by Henry Addo at GhanaGTUG Maiden Event on Friday, 5th March 2010.

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

Android101

  1. 1. ANDROID FRAMEWORK Henry Addo Twitter: http://twitter.com/eyedol
  2. 2. WHAT WE ARE GOING TO LOOK AT * What Is Android? * Architecture Overview. * Android Software Development. * Developer Tool Kits. * Getting started. * Sample Apps. * References.
  3. 3. WHAT IS ANDROID * An open platform for mobile computing. * Its linux based. * But development is in java.
  4. 4. ARCHITECTURE OVERVIEW * Power Management * Security * Drivers * Processes Management
  5. 5. ARCHITECTURE OVERVIEW The libraries provide functionalities.
  6. 6. ARCHITECTURE OVERVIEW
  7. 7. ANDROID SOFTWARE DEVELOPMENT * Application building blocks * Application Model * UI Components
  8. 8. APPLICATION BUILDING BLOCKS * Activities and Intents * Broadcast Receivers * Services * Content Providers
  9. 9. ACTIVITIES An activity is a screen in your application.
  10. 10. ACTIVITY LIFE CYCLE
  11. 11. INTENTS * An activity communicate with each other using Intents. * The Intent is resolved to another Activity, by matching it against an Intent Filter. * Intent conveys Data and Actions.
  12. 12. BROADCAST RECEIVERS * Listens for Intents * Incoming calls * Incoming SMS * Alarms * Network availability changes * Does not display UI * Uses notifications
  13. 13. SERVICES * Services perform long running activities. * Services can be manual or automatic. * Can run in process or in another process altogether.
  14. 14. APPLICATION MODEL * Android Package( .apk ) * Compiled code & resources * Must be signed just like jar. * Task * May span activities across several packages and processes.
  15. 15. UI COMPONENTS * Views * Simple * Edit, Button, Checkbox,Radio * Specialized * DatePicker, AutoComplete * ViewGroups * Relative, Table, Linear * Web, Video, Map, Gallery
  16. 16. DEVELOPER TOOLKITS Emulator * An emulator that runs same system image as a device * You could also use the developer device.
  17. 17. DEVELOPER TOOLKITS Eclipse Plugin - ADT
  18. 18. DEVELOPER TOOLKITS Debugger
  19. 19. GETTING STARTED * The famous “Hello World” Program provided by the SDK: *Android Manifest * Layout file * Activity source file
  20. 20. GETTING STARTED * Android Manifest file
  21. 21. GETTING STARTED * Layout file
  22. 22. GETTING STARTED * Activity Source file
  23. 23. GETTING STARTED * Built and Running on the Emulator
  24. 24. GETTING STARTED Accelerator Titanium You don’t need java to write android apps. http://www.appcelerator.com/
  25. 25. RESOURCES * Android SDK: http://developer.android.com/sdk/index.html * GUI Designer: http://www.droiddraw.org/ * API Documentation: http://developer.android.com/reference/android/package- summary.html * Developers Mailing List: http://groups.google.com/group/android-developers
  26. 26. REFERENCES * Android homepage: http://www.android.com/ * Open Handset Alliance: http://www.openhandsetalliance.com * Android Developers Page: http://developers.android.com/ * Android Open Source: http://source.android.com/
  27. 27. THANK YOU FOR COMING

×