Introduction to Android <ul><li>Contents </li></ul><ul><li>What is Android? </li></ul><ul><li>Setting up for Android Devel...
What is Android?  1 of 2 <ul><li>History </li></ul><ul><ul><li>Google acquires Android, Inc July 2005 </li></ul></ul><ul><...
What is Android?  2 of 2 <ul><li>Concepts / Philosophy </li></ul><ul><ul><li>Complete software stack based on Linux kernel...
Android Development Prerequisites <ul><li>Java JDK 5 or 6 (JRE is not sufficient!)‏ </li></ul><ul><li>Eclipse 3.3 or highe...
Android Development  Setup (Eclipse)‏ <ul><li>Setup software update site </li></ul><ul><li>Download and install current pl...
Android Development  Key Concepts 1 of 2 <ul><li>Activity </li></ul><ul><ul><li>User interface 'container' – essentially a...
Android Development  Key Concepts 2 of 2 <ul><li>Service </li></ul><ul><ul><li>Non-UI component which provides ancillary f...
Android Development  App Structure <ul><li>Application Manifest </li></ul><ul><ul><li>Specifies Activities, Intents and Pe...
Android Application Architecture <ul><li>Each application runs as a separate (Linux) process </li></ul><ul><li>Application...
Android Development  Deployment <ul><li>Application package files (.APK)  </li></ul><ul><ul><li>created via Android Asset ...
Android Development  Tools <ul><li>Android Emulator </li></ul><ul><li>Android Debug Bridge (ADB)‏ </li></ul><ul><ul><li>Us...
Android Development Tutorials and Sample Code <ul><li>Hello World </li></ul><ul><li>http://developer.android.com/guide/tut...
Android Development  Useful links <ul><li>http:// developer.android.com / </li></ul><ul><li>http:// www.androiddevelopment...
Android Advanced Topics <ul><li>Android is Open Source! </li></ul><ul><ul><li>Git repository available </li></ul></ul><ul>...
Android News <ul><li>Android SDK 1.5 pre-release now available </li></ul>
Upcoming SlideShare
Loading in...5
×

IntroToAndroid

1,446

Published on

testing to slide

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

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

No notes for slide

IntroToAndroid

  1. 1. Introduction to Android <ul><li>Contents </li></ul><ul><li>What is Android? </li></ul><ul><li>Setting up for Android Development </li></ul><ul><li>Anatomy of an Android App </li></ul><ul><li>Hello World on Android </li></ul><ul><li>Where to go from here </li></ul>
  2. 2. What is Android? 1 of 2 <ul><li>History </li></ul><ul><ul><li>Google acquires Android, Inc July 2005 </li></ul></ul><ul><ul><li>Google forms Open Handset Alliance - Nov 2007 </li></ul></ul><ul><ul><li>Release 1.0 of SDK Sept. 2008 </li></ul></ul><ul><ul><li>Google releases Android source code Oct 2008 </li></ul></ul><ul><ul><li>T-Mobile G-1 phone released in US Oct 2008 </li></ul></ul><ul><ul><li>http:// en.wikipedia.org/wiki/Google_Android </li></ul></ul>
  3. 3. What is Android? 2 of 2 <ul><li>Concepts / Philosophy </li></ul><ul><ul><li>Complete software stack based on Linux kernel 2.6.24 </li></ul></ul><ul><ul><li>Feature-rich Application Framework </li></ul></ul><ul><ul><li>Dalvik virtual machine optimized for Android / mobile device architecture </li></ul></ul><ul><ul><li>Full, well-documented development environment </li></ul></ul><ul><ul><li>http://developer.android.com/guide/basics/what-is-android.html </li></ul></ul>
  4. 4. Android Development Prerequisites <ul><li>Java JDK 5 or 6 (JRE is not sufficient!)‏ </li></ul><ul><li>Eclipse 3.3 or higher (note: no current Netbeans support)‏ </li></ul><ul><li>Android SDK (latest official release is R1.1)‏ </li></ul>
  5. 5. Android Development Setup (Eclipse)‏ <ul><li>Setup software update site </li></ul><ul><li>Download and install current plugin </li></ul><ul><li>Add SDK path to Preferences -> Android </li></ul><ul><li>http://developer.android.com/sdk/1.1_r1/installing.html </li></ul>
  6. 6. Android Development Key Concepts 1 of 2 <ul><li>Activity </li></ul><ul><ul><li>User interface 'container' – essentially a screen </li></ul></ul><ul><li>View </li></ul><ul><ul><li>A simple or compound component which is used by an activity – e.g. lists, buttons, grids, text boxes (like a 'control' in Symbian)‏ </li></ul></ul><ul><li>Intent </li></ul><ul><ul><li>Objects which can be used to launch activities and to pass data to sub-activities </li></ul></ul>
  7. 7. Android Development Key Concepts 2 of 2 <ul><li>Service </li></ul><ul><ul><li>Non-UI component which provides ancillary functionality </li></ul></ul><ul><ul><li>Can be same or different process </li></ul></ul><ul><li>Content Provider </li></ul><ul><ul><li>Mechanism to share data across different applications (app data is private)‏ </li></ul></ul><ul><li>Adapters </li></ul><ul><ul><li>Bind data to UI views </li></ul></ul><ul><li>SQLlite database </li></ul>
  8. 8. Android Development App Structure <ul><li>Application Manifest </li></ul><ul><ul><li>Specifies Activities, Intents and Permissions defined as part of the app </li></ul></ul><ul><li>Resources </li></ul><ul><ul><li>drawable: contains graphics resources </li></ul></ul><ul><ul><li>layout: contains UI layout information </li></ul></ul><ul><ul><li>values: contains data content, e.g. string values </li></ul></ul><ul><li>Assets </li></ul><ul><ul><li>Used to store files accessed in raw form </li></ul></ul>
  9. 9. Android Application Architecture <ul><li>Each application runs as a separate (Linux) process </li></ul><ul><li>Application Life Cycle </li></ul><ul><ul><li>Apps implement callback methods in response to system events (e.g. when processes get stopped / paused / restarted by Application Manager for resource management purposes)‏ </li></ul></ul><ul><ul><li>Allows applications to persist / restore their state </li></ul></ul>
  10. 10. Android Development Deployment <ul><li>Application package files (.APK) </li></ul><ul><ul><li>created via Android Asset Packaging Tool (AAPT)‏ </li></ul></ul><ul><ul><li>Eclipse invokes AAPT automatically </li></ul></ul>
  11. 11. Android Development Tools <ul><li>Android Emulator </li></ul><ul><li>Android Debug Bridge (ADB)‏ </li></ul><ul><ul><li>Used for installing and debugging Android apps </li></ul></ul><ul><li>Android Asset Packaging Tool (AAPT)‏ </li></ul><ul><ul><li>Used to create installables </li></ul></ul><ul><li>http:// developer.android.com/guide/developing/tools/index.html </li></ul>
  12. 12. Android Development Tutorials and Sample Code <ul><li>Hello World </li></ul><ul><li>http://developer.android.com/guide/tutorials/hello-world.html </li></ul><ul><li>Notepad Tutorial </li></ul><ul><li>http:// developer.android.com/guide/tutorials/notepad/index.html </li></ul><ul><li>API Demos is your friend!!! </li></ul>
  13. 13. Android Development Useful links <ul><li>http:// developer.android.com / </li></ul><ul><li>http:// www.androiddevelopment.org / </li></ul>
  14. 14. Android Advanced Topics <ul><li>Android is Open Source! </li></ul><ul><ul><li>Git repository available </li></ul></ul><ul><li>Extending Android </li></ul><ul><ul><li>Java Native Interface (JNI) is available </li></ul></ul>
  15. 15. Android News <ul><li>Android SDK 1.5 pre-release now available </li></ul>
  1. A particular slide catching your eye?

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

×