Your SlideShare is downloading. ×
IntroToAndroid
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

IntroToAndroid

1,433

Published on

testing to slide

testing to slide

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

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

×