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.

Android workshop

1,662 views

Published on

Slides for a workshop I held at NIT Durgapur

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Android workshop

  1. 1. Android WorkshopStackOverflow ClientHelloWorldNotepad tutorial-Ravi Vyas
  2. 2. Who Am I• Software Engineer at• Co – Organizer at
  3. 3. Why Am I here• I was told a senior saw my talk at Droidcon and recommended my name . Thank you sir • I evangelize Android Previous talks : slideshare.net/ravivyas84
  4. 4. What’s our plan• Make a simple “HelloWorld“ app to learn how to develop for Android• Make a simple notepad app that stores.• Learn A few Android concepts on the way
  5. 5. What’s Android• Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language
  6. 6. What is Android
  7. 7. Android Fundamentals• Language : Java . Each process has its own virtual machine (Dalvik VM), so an applications code runs in isolation from other applications• Android applications are composed of one or more application components (activities, services, content providers, and broadcast receivers)• The manifest file must declare all components in the application and should also declare all application requirements, such as the minimum version of Android required and any hardware configurations required
  8. 8. Android Components• Activities• Services• Content providers• Broadcast Receivers
  9. 9. The Manifest File• Lets the system know what components exist in the application• Identifies required user permissions ( e.g. read contacts , internet access )• Declares the minimum API version• Declare the hardware and software features used ( e.g. Camera, GPS )• Declares application info ( e.g. name , version )
  10. 10. Android Project Structure Project Androi Androidsrc res assets gen … d Manifes drawab t.xml le-ldpi drawab le-mdpi drawab le-hdpi layouts values
  11. 11. Android Hello World
  12. 12. Android NotePad
  13. 13. Questions & Contact infoRavi Vyas: • twitter.com/ravivyas84 • ravivyas.com • Google+ ravivyas.com/+ • contact@ravivyas.com • Slideshare.net/ravivyas84Useful Sites• d.android.com• Stackoverflow.com• blrdroid.org

×