Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting started with Android

Paresh Mayani
September 08, 2013

Getting started with Android

Let's get started with Android app development. This was presented at GDG Baroda, India.

Paresh Mayani

September 08, 2013
Tweet

More Decks by Paresh Mayani

Other Decks in Technology

Transcript

  1. Why Android? • We love and trust Google • Open

    Source • Larger screen size (iPhone is Fixed size :D ) @pareshmayani
  2. Why Android? • We love and trust Google • Open

    Source • Larger screen size (iPhone is Fixed size :D ) • Google Play Store @pareshmayani
  3. Why Android? • We love and trust Google • Fastest

    growing OS • Open Source • Larger screen size (iPhone is Fixed size :D ) • Google Play Store • Various Manufacturers @pareshmayani
  4. Activities • Fundamental object of android app with lifecycle •

    Having UI • Interact with the user • One app can have Multiple activities • Must have 1 Main Activity @pareshmayani
  5. Views • Basic building block for UI components • Draws

    itself to the screen • Respond to Events @pareshmayani
  6. Intents • A simple message object that represents an "intention"

    to do something • Most significant use => launching of activities, where it can be thought of as the glue between activities. @pareshmayani
  7. Services • can perform long-running operations in the background •

    Doesn’t Provide User Interface (UI) • Another application component can start a service and it will continue to run in the background even if the user switches to another application. @pareshmayani
  8. Content Providers • presents data to external applications • provide

    a level of abstraction for any data stored on the device that is accessible by multiple applications. @pareshmayani
  9. Android application - 3 Activity 3.1 Android application - 2

    Activity 2.1 Activity 2.1 Android application - 1 Activity 1.1 Activity 1.2 Activity 1.3 Content Provider - A XML Data File SQLite Remote @pareshmayani
  10. Notifications • A Notification is a small icon that appears

    in the status bar. • Users can interact with this icon to receive information • For example: New SMS message, Missed call, New Mail @pareshmayani
  11. Android ADT Bundle Download the SDK ADT Bundle for Windows

    • ADT (Android Developer Tools) Bundle • With a single download, the ADT Bundle includes everything you need to begin developing apps: – Eclipse + ADT plug-in – Android SDK Tools – Android Platform-tools – The latest Android platform – The latest Android system image for the emulator @pareshmayani
  12. Eclipse IDE Package Structure of your Android app Source Code

    Problems/Erros and Console messages Program Elements @pareshmayani
  13. Button • It used to execute some task based on

    the button’s click/selection action. @pareshmayani