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.

Introduction to android

2,325 views

Published on

  • Be the first to like this

Introduction to android

  1. 1. Basics Of Android Presented by S Srinivasan
  2. 2. Contents - Introduction to Android - Android Features - Hello world android application - Android Folder structure - Android manifest file
  3. 3. <ul><li>A software stack for mobile devices that includes operating system, middleware and key applications </li></ul><ul><li>Various versions of android OS: </li></ul><ul><li>Android 1.0,1.1 </li></ul><ul><li>Android 1.5 (CUPCAKE) </li></ul><ul><li>Android 1.6 (DONUT) </li></ul><ul><li>Android 2.0/2.1 (ECLAIR) </li></ul><ul><li>Android 2.2 (FROYO) </li></ul><ul><li>Android 2.3/2.3.3 (GINGERBREAD) </li></ul><ul><li>Android 3.0/3.2 (HONEYCOMB) </li></ul>Introduction to Android
  4. 4. <ul><li>Application framework enabling reuse and replacement of components </li></ul><ul><li>Dalvik virtual machine optimized for mobile devices </li></ul><ul><li>Integrated browser based on the open source WebKit engine </li></ul><ul><li>Optimized graphics powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional) </li></ul><ul><li>SQLite for structured data storage </li></ul><ul><li>Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF) </li></ul><ul><li>GSM Telephony (hardware dependent) </li></ul><ul><li>Bluetooth, EDGE, 3G, and WiFi (hardware dependent) </li></ul><ul><li>Camera, GPS, compass, and accelerometer (hardware dependent) </li></ul><ul><li>Rich development environment including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE </li></ul>Android Features
  5. 5. <ul><li>Activities </li></ul><ul><li>Single screen with user interface </li></ul><ul><li>Services </li></ul><ul><li>Runs into background to perform long running operations </li></ul><ul><li>Content Providers </li></ul><ul><li>Manages shared set of application data. </li></ul><ul><li>Broadcast Receivers </li></ul><ul><li>Responds to system wide broadcast announcements. </li></ul>Android Application Components
  6. 6. <ul><li>Set up the Development environment that includes </li></ul><ul><li>1: Installing ADT plugin (Help -> Install New Software) </li></ul><ul><li>2: Install Android SDK Tools (Window -> Android SDK & AVD manager -> Available Packages) </li></ul><ul><li>3: Pointing ADT to Android SDK (Window -> Preferences -> Android) </li></ul><ul><li>Create new Android Project : </li></ul><ul><li>1: File->New -> Android project </li></ul><ul><li>2: Give all required information -> finish </li></ul><ul><li>Create new AVD(Android Virtual device) </li></ul><ul><li>It will be different for different android OS Versions </li></ul><ul><li>Code & Run the application. </li></ul>Hello World Sample Application
  7. 7. Android Folder Structure
  8. 8. <ul><li>Application must have android manifest file. (Generated automatically) </li></ul><ul><li>It does the following: </li></ul><ul><li>-Names the java package for your application </li></ul><ul><li>-Describes application components </li></ul><ul><li>-Declares the permissions that application must have in order to access some APIs or other application </li></ul><ul><li>-Declares the permission that others are required in order to access it's own components. </li></ul><ul><li>-Declares the minimum API Level that it requires. </li></ul><ul><li>-Lists the libraries that the application must be linked against. </li></ul>Android Manifest File
  9. 10. <ul><li>http://developer.android.com/resources/tutorials/hello-world.html </li></ul><ul><li>http://developer.android.com/guide/developing/tools/index.html </li></ul><ul><li>http://developer.android.com/guide/topics/manifest/manifest-intro.html </li></ul><ul><li>http://en.wikipedia.org/wiki/Android_version_history </li></ul><ul><li>http://developer.android.com/guide/topics/fundamentals.html </li></ul>References
  10. 11. Happy Learning!!!

×