ANDROID
    FRAMEWORK
           Henry Addo
Twitter: http://twitter.com/eyedol
WHAT WE ARE
    GOING TO LOOK AT
* What Is Android?
* Architecture Overview.
* Android Software Development.
* Developer T...
WHAT IS ANDROID
* An open platform for mobile computing.

* Its linux based.


* But development is in java.
ARCHITECTURE
       OVERVIEW


* Power Management
* Security
* Drivers
* Processes Management
ARCHITECTURE
         OVERVIEW




The libraries provide functionalities.
ARCHITECTURE
  OVERVIEW
ANDROID SOFTWARE
  DEVELOPMENT
* Application building blocks

* Application Model

* UI Components
APPLICATION BUILDING
       BLOCKS
 * Activities and Intents
 * Broadcast Receivers
 * Services
 * Content Providers
ACTIVITIES
An activity is a screen in your
application.
ACTIVITY LIFE CYCLE
INTENTS
* An activity communicate with each
other using Intents.

* The Intent is resolved to another
Activity, by matchin...
BROADCAST RECEIVERS
* Listens for Intents
   * Incoming calls
   * Incoming SMS
   * Alarms
   * Network availability
chan...
SERVICES
* Services perform long running activities.

* Services can be manual or automatic.

* Can run in process or in a...
APPLICATION
          MODEL
* Android Package( .apk )
   * Compiled code & resources
   * Must be signed just like jar.

*...
UI COMPONENTS
* Views
   * Simple
      * Edit, Button, Checkbox,Radio
   * Specialized
      * DatePicker, AutoComplete

...
DEVELOPER
         TOOLKITS
Emulator
* An emulator that runs same system
image as a device
* You could also use the develo...
DEVELOPER TOOLKITS
Eclipse Plugin - ADT
DEVELOPER TOOLKITS
Debugger
GETTING STARTED
* The famous “Hello World”
Program provided by the SDK:
   *Android Manifest
   * Layout file
   * Activity...
GETTING STARTED
* Android Manifest file
GETTING STARTED
* Layout file
GETTING STARTED
* Activity Source file
GETTING STARTED
* Built and Running on the
Emulator
GETTING STARTED
Accelerator Titanium
 You don’t need java to write android apps.
       http://www.appcelerator.com/
RESOURCES
* Android SDK:
http://developer.android.com/sdk/index.html

* GUI Designer:
http://www.droiddraw.org/

* API Doc...
REFERENCES
* Android homepage:
http://www.android.com/

* Open Handset Alliance:
http://www.openhandsetalliance.com

* And...
THANK YOU
FOR COMING
Upcoming SlideShare
Loading in …5
×

Android101

1,322
-1

Published on

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

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,322
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
77
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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
  1. A particular slide catching your eye?

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

×