Uploaded on

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

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

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,185
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
75
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. ANDROID FRAMEWORK Henry Addo Twitter: http://twitter.com/eyedol
  • 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. WHAT IS ANDROID * An open platform for mobile computing. * Its linux based. * But development is in java.
  • 4. ARCHITECTURE OVERVIEW * Power Management * Security * Drivers * Processes Management
  • 5. ARCHITECTURE OVERVIEW The libraries provide functionalities.
  • 6. ARCHITECTURE OVERVIEW
  • 7. ANDROID SOFTWARE DEVELOPMENT * Application building blocks * Application Model * UI Components
  • 8. APPLICATION BUILDING BLOCKS * Activities and Intents * Broadcast Receivers * Services * Content Providers
  • 9. ACTIVITIES An activity is a screen in your application.
  • 10. ACTIVITY LIFE CYCLE
  • 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. BROADCAST RECEIVERS * Listens for Intents * Incoming calls * Incoming SMS * Alarms * Network availability changes * Does not display UI * Uses notifications
  • 13. SERVICES * Services perform long running activities. * Services can be manual or automatic. * Can run in process or in another process altogether.
  • 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. UI COMPONENTS * Views * Simple * Edit, Button, Checkbox,Radio * Specialized * DatePicker, AutoComplete * ViewGroups * Relative, Table, Linear * Web, Video, Map, Gallery
  • 16. DEVELOPER TOOLKITS Emulator * An emulator that runs same system image as a device * You could also use the developer device.
  • 17. DEVELOPER TOOLKITS Eclipse Plugin - ADT
  • 18. DEVELOPER TOOLKITS Debugger
  • 19. GETTING STARTED * The famous “Hello World” Program provided by the SDK: *Android Manifest * Layout file * Activity source file
  • 20. GETTING STARTED * Android Manifest file
  • 21. GETTING STARTED * Layout file
  • 22. GETTING STARTED * Activity Source file
  • 23. GETTING STARTED * Built and Running on the Emulator
  • 24. GETTING STARTED Accelerator Titanium You don’t need java to write android apps. http://www.appcelerator.com/
  • 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. 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. THANK YOU FOR COMING