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 week1

175 views

Published on

Workshop I did for electrical engineering students with no OOP or Android knowledge to make a very simple app.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Android workshop week1

  1. 1. Welcome! Android workshop part 1 Jim Clermonts | Electrical Engineer Busy with Android Jimclermonts@gmail.com @JimClermonts Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 1
  2. 2. Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 2
  3. 3. Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 3
  4. 4. Different versions Android 2.0 Android 3.0, 4.0 Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 4
  5. 5. •0.5 Million •450.000 Apps •10.000.000.000 Downloads •…. Since september 2008 Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 5
  6. 6. Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 6
  7. 7. ‹#›
  8. 8. Your idea “The StuffLocator” Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 8
  9. 9. View diagram Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 9
  10. 10. a Class Noun Classname Fields Verb Methods (parameters) Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 10
  11. 11. Class Diagram Package Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 11
  12. 12. Start a new project Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 12
  13. 13. Rename main.xml to identity.xml 3 Classes: Identity, Account, Scanner 3 Layouts: identity, account, scanner Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 13
  14. 14. Directory tree Classes (.java) Layout (.xml) Manifest.xml Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 14
  15. 15. 10 Minute break Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 15
  16. 16. Start with the layout Ctrl – Shift – F = Align Ctrl – Shift – S = Save and compile Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 16
  17. 17. RelativeLayout Ctrl + Space: Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 17
  18. 18. Tablelayout Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 18
  19. 19. Customize your Layouts! Good Layout tutorials: http://mobile.tutsplus.com/tutorials/android/android-layout/ Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 19
  20. 20. Manifest Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 20
  21. 21. Emulator Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 21
  22. 22. Manual run Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 22
  23. 23. Enabling your android device Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 23
  24. 24. Run your app! Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 24
  25. 25. Next week: •Add behaviour •Remove warnings •Android platform •Polish that app! Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 25

×