Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

GDG Android Bootcamp

GDG Android Bootcamp

The GDG Android Bootcamp at Google Hyderabad on July 8th, 2012. THe bootcamp was for folks attending the 2nd edition of Startup Weekend Hyderabad.

sohammondal

July 08, 2012
Tweet

More Decks by sohammondal

Other Decks in Technology

Transcript

  1. ABOUT SOHAM Android  developer  and  enthusiast   Co-­‐organizer  of  the

     Bangalore  Android  User  Group   Creator  of  Triveous  Recorder   @s0h4m [email protected] Soham  Mondal  
  2. 101,002,000,000 FORECAST  FOR  THE  GLOBAL  APP  MARKET  IN  2017  

    (IN  DOLLARS)   hOp://news.yahoo.com/global-­‐smartphone-­‐apps-­‐market-­‐reach-­‐us-­‐101-­‐2-­‐150031981.html   Soham  Mondal  
  3. 50.6% FORECAST  FOR  ANDROID  SALES  IN  INDIA  IN  2012  

    hOp://convergencecatalystblog.com/2012/02/13/india-­‐smartphone-­‐outlook-­‐for-­‐2012/   Soham  Mondal  
  4. 500% ANDROID  DEVICE  GROWTH  IN  INDIA  IN  ONE  YEAR  

    hOp://www.itvoir.com/portal/news/News/Android-­‐grew-­‐by-­‐whopping-­‐500-­‐percent-­‐in-­‐India-­‐in-­‐one-­‐year-­‐20-­‐305.asp   Soham  Mondal  
  5. ANDROID BUILDING BLOCKS Accvices   Android  manifest.xml   Intents  

    Views   Content  providers   Services   Nocficacons   Soham  Mondal  
  6. ANDROID BUILDING BLOCKS Android  manifest.xml   Intents   Views  

    Content  providers   Services   Nocficacons   Accvices   Soham  Mondal  
  7. ACTIVITIES •  Provides a screen with which users can interact

    in order to do something Example: dial the phone, take a photo, send an email, or view a map. •  Each activity is given a window in which to draw its user interface. •  An app usually consists of multiple activities •  Typically, one activity in an application is specified as the "main" activity, which is presented to the user when launching the application for the first time. Soham  Mondal  
  8. ANDROID BUILDING BLOCKS Accvices   Android  manifest.xml   Intents  

    Views   Content  providers   Services   Nocficacons   Soham  Mondal  
  9. Accvices   ANDROID BUILDING BLOCKS Android  manifest.xml   Views  

    Content  providers   Services   Nocficacons   Intents   Soham  Mondal  
  10. INTENTS •  Intents are used to move from Activity to

    Activity •  describes what the application wants •  provides late runtime binding Soham  Mondal  
  11. ANDROID BUILDING BLOCKS Accvices   Android  manifest.xml   Intents  

    Views   Content  providers   Services   Nocficacons   Soham  Mondal  
  12. Accvices   ANDROID BUILDING BLOCKS Android  manifest.xml   Intents  

    Content  providers   Services   Nocficacons   Views   Soham  Mondal  
  13. VIEWS •  Views are UI basic building blocks •  Know

    how to draw themselves •  Respond to events •  Organized as trees to build up GUIs •  Described in XML in layout resources Soham  Mondal  
  14. ANDROID BUILDING BLOCKS Accvices   Android  manifest.xml   Intents  

    Views   Content  providers   Services   Nocficacons   Soham  Mondal  
  15. Accvices   ANDROID BUILDING BLOCKS Android  manifest.xml   Intents  

    Views   Services   Nocficacons   Content  providers   Soham  Mondal  
  16. CONTENT PROVIDERS •  Enable applications to store and share data.

    •  Makes a specific set of the application's data available to other applications. •  Date stored in the file system, in an SQLite database or on other platforms Soham  Mondal  
  17. File   Accvity  1.1   Accvity  1.2   Accvity  2.1

      Accvity  2.2   Applica'on  2   (wants  phone  number)   Applica'on  1  (contacts  app)   Remote   SQLite   db   Accvity  3.1   Accvity  3.2   Applica'on  3   Content  Provider   Soham  Mondal  
  18. ANDROID BUILDING BLOCKS Accvices   Android  manifest.xml   Intents  

    Views   Content  providers   Services   Nocficacons   Soham  Mondal  
  19. Accvices   ANDROID BUILDING BLOCKS Android  manifest.xml   Intents  

    Views   Content  providers   Nocficacons   Services   Soham  Mondal  
  20. SERVICES •  Faceless task that runs in the background. • 

    No visual user interface •  Runs in the background certain period of time •  For example: Background music Soham  Mondal  
  21. ANDROID BUILDING BLOCKS Accvices   Android  manifest.xml   Intents  

    Views   Content  providers   Services   Nocficacons   Soham  Mondal  
  22. Accvices   ANDROID BUILDING BLOCKS Android  manifest.xml   Intents  

    Views   Content  providers   Services   Nocficacons   Soham  Mondal  
  23. NOTIFICATIONS •  Notifies the user about events •  Sent through

    NotificationManager •  Types – persistent icon – sound or vibration Soham  Mondal  
  24. ANDROID BUILDING BLOCKS Accvices   Android  manifest.xml   Intents  

    Views   Content  providers   Services   Nocficacons   Soham  Mondal  
  25. Accvices   ANDROID BUILDING BLOCKS Intents   Views   Content

     providers   Services   Nocficacons   Android  manifest.xml   Soham  Mondal  
  26. ANDROID MANIFEST •  It names the Java package for the

    application. •  Components of the application — the activities, services, broadcast receivers, and content providers that the application is composed of. •  Permissions •  Lists the library •  And more Soham  Mondal  
  27.               Shows  the  program

     and   package  structure         Source  of  android  programs  are  shown  here   Shows  various  console  messages,  problems  etc   Outline:   Shows   various   program   elements   Soham  Mondal  
  28. HOW TO INSTALL EVERYTHING? 1.  Eclipse Download and install eclipse

    classic: http://www.eclipse.org/downloads/ 2.  JDK Download and install: http://www.oracle.com/technetwork /java/javase/downloads/index.html 3.  Android SDK starter package Download and install: http://developer.android.com/sdk/index.html 4.  Android development tools (ADT) plugin Download from within Eclipse: https://dl-ssl.google.com/android/eclipse/ 5.  Add platform and other optional components from within eclipse Soham  Mondal  
  29. APP MONETIZATION Free – Ad supported Premium – Pay per

    title Trial – Upgrade to Premium Freemium – In app billing Paymium – Premium + In-app billing Trial Paymium – Trial + Paymium Subscription – Auto recurrent payment Soham  Mondal  
  30. ADVERTIZING User launches your app User clicks on add in

    your app You get paid for each click Soham  Mondal