MobileTAO Android Development 101

344 views

Published on

My slides during the first mobileTAO Tech ReachOut at St. Joseph College of Montalban, September 8, 2012

Published in: Technology
2 Comments
1 Like
Statistics
Notes
No Downloads
Views
Total views
344
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
2
Likes
1
Embeds 0
No embeds

No notes for slide

MobileTAO Android Development 101

  1. 1. Mobile 101 - Android St. Joseph College, Montalban Rizal Sept 8, 2012 Rai Escarez @brainv
  2. 2. What is Android? • Android is a Linux-based operating system for mobile devices such as smartphones and tablet computers, developed by Google in conjunction with the Open Handset Alliance • Large community of developers writing applications • The world’s leading smartphone platform at the end of 2010
  3. 3. 2012 Report
  4. 4. Android Versions • v1.0 Beta (Nov 2007) • v1.5 Cupcake (Apr 2009) • v1.6 Donut (Sep 2009) • v2.0/2.1 Éclair (Oct 2009) • v2.2.x Froyo (May 2010) • v2.3.x Gingerbread (Dec 2010) • v3.x Honeycomb (Feb 2011) • v4.x Ice Cream Sandwich (Oct 2011) • v4.1.x Jelly Bean (Jun 2012)
  5. 5. mini-me
  6. 6. T_T
  7. 7. How to develop Android App?
  8. 8. Should have • Basic Java Programming • Know how to use a tool
  9. 9. Agenda • Setup the Development Environment • Create a "Hello World" Android Application • Understand the various parts of an Android Project • Use the Android Emulator • Install and run the application on a physical device • Create a simple User Interface
  10. 10. Setting Up the Development Environment
  11. 11. Download/Install Eclipse IDE
  12. 12. Make sure the correct one
  13. 13. Download/Install the SDK
  14. 14. Download/Install the Eclipse Plugin • Click Help -> Install New Software . • Click Add... button. • Enter a name for the site into the Name field. • Enter https://dl-ssl.google.com/android/eclipse/ into the Location field. • Click the OK button. • Click the checkbox next to Developer Tools. • Click the Next button. • Accept the terms, click Finish. • Restart Eclipse.
  15. 15. Download/Install the SDK Platform Components • Select the menu Window -> "Android SDK and AVD Manager", or click on the black phone shaped icon in the toolbar. • Select Available Packages on the left hand side. • Expand the Google Android site in the "Site, Packages, and Archives" Tree. • Check the following items: • SDK Plaform Android 1.6, API 4 Revision 4 • Google APIs by Google Inc., Android API 4, Revision 4 • Click Install Selected. • Accept the Terms for all packages and click Install Accepted.
  16. 16. We're now ready to develop our application.
  17. 17. Hello World Android Application Demo
  18. 18. Name Getter Android Application Demo
  19. 19. Map Android Application Demo
  20. 20. You learned • Create an Android Project • Calling another Activity • How to use simple event listener • Running, Debugging, and Causing General Mayhem • Layout manipulation • Displaying an image • Map Application
  21. 21. Other useful things • Take advance the Google API – Geocoding, Location-Based Service • Using Hardware functionality – Camera • Using Sensors – Compass – Accelerometer • Etc.
  22. 22. Simple Tips • Don’t memorize • Use cheat sheets • IDE should obey you • Join local community
  23. 23. Google Android DevCamp 2012
  24. 24. Google Android DevCamp 2012
  25. 25. Google
  26. 26. http://www.abs-cbnnews.com/video/nation/metro-manila/07/27/12/mobile-app-measures-crowding-mrt-lrt
  27. 27. Question? • Ask me on twitter @brainv

×