1 / 84

Getting Started with Android Development

Getting Started with Android Development. Rohit Ghatol. About Me. Rohit Ghatol Architect @QuickOffice Project Mgr @Synerzip Certified Scrum Master Author “ Beginning PhoneGap ” @Apress Founder TechNext Pune (Pune Developer Community). LinkedIn Profile. Topics. Understanding Android

thy
Download Presentation

Getting Started with Android Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Getting Started with Android Development Rohit Ghatol

  2. About Me Rohit Ghatol • Architect @QuickOffice • Project Mgr @Synerzip • Certified Scrum Master • Author “Beginning PhoneGap” @Apress • Founder TechNext Pune (Pune Developer Community) LinkedIn Profile

  3. Topics • Understanding Android • Android Building Blocks • Putting Building Blocks Together • Latest things in Android World • Reference Material

  4. Understanding Android

  5. What is Android? • Software stack for mobile devices that includes • an operating system • middleware • key applications • SDK to develop application

  6. Android Architecture

  7. Android OS Names

  8. http://en.wikipedia.org/wiki/Android_version_history

  9. Key OS Capabilities

  10. Android OS Capabilities • Phone and OS features • 3G/4G,GPS, Accelerometer, Compass, Camera, SQLite, Wifi, Bluetooth, etc • Near Field Communication • Cloud to Device Messaging (C2DM) • Direct Wifi

  11. Android OS Capabilities • Notable Features of Android • All Applications are equal • Reuse of Data • Reuse of Functionality

  12. All Applications are Equal • Replace Home Application • Replace Contacts, Dialer Applications • Replace SMS, Email Applications • Replace Settings Application • OEM Customizations (e.g HTC Sense)

  13. Reuse of Data Default Contact Manager New Contact Manager Replaces What happens to data feed into the default Contact Manager?

  14. Reuse of Data Default Contact Manager New Contact Manager Replaces But Uses Content Provider “Replaces” means by default the new app is launched, but old app still exists

  15. Reuse of Functionality My Coupons Time to learn SMS API and Email API and code them into my application! More code! Heehee New Requirement • Share with Friends using • SMS • Email

  16. Reuse of Functionality Here are two applications who can do it for you? My Coupons SMS Intention: Want to send Email Mail

  17. Reuse of Functionality My Coupons SMS Mail

  18. Reuse of Functionality My Coupons SMS Mail

  19. Android Environment Setup http://developer.android.com/sdk/installing.html

  20. Eclipse Android SDK ADT Android ….. SDK Manager Manages Android 2.2 Emulator Emulator Google API 2.2 AVD Manager ………………. Android 3.2 Android 4.x

  21. Android Application Android Manifest Dex File Resources MyApp.apk Signed by Self Signed Private Key

  22. Identity of Android Application

  23. Android Build Cycle .java .class .dex .apk javac dx apt • AndroidManifest.xml • resources

  24. How Applications behave?

  25. Dalvik VM Uid 1 Uid 2 Uid 3 Linux Process data data com.xyz.email Dalvik VM Dalvik VM Dalvik VM shared_prefs files UID 1 databases Process Process Process com.abc.skype . . . . . . Linux Kernel UID 2 com.koko.sukudo . . . . . . UID 3

  26. Android Building Blocks

  27. Activity Service Broadcast Receiver Content Resolver Content Provider Intents Building Blocks Other Components Alarm Manager Noti-fication Manager …… Read more - http://developer.android.com/guide/topics/fundamentals.html ......

  28. First Android Application

  29. Interacting with Buttons

  30. Interacting with Button

  31. Interacting with Buttons

  32. Screen Navigation

  33. startActivityForResult()

More Related