Android workshop week1

download Android workshop week1

of 25

  • date post

    24-Jan-2015
  • Category

    Technology

  • view

    24
  • download

    0

Embed Size (px)

description

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

Transcript of Android workshop week1

  • 1. Welcome! Android workshop part 1 Jim Clermonts | Electrical Engineer Busy with AndroidJimclermonts@gmail.com @JimClermontsWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 1

2. Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 2 3. Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 3 4. Different versions Android 2.0Android 3.0, 4.0Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 4 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. Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 6 7. # 8. Your idea The StuffLocatorWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 8 9. View diagramWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 9 10. a ClassNounClassname FieldsVerbMethods (parameters)Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 10 11. Class Diagram PackageWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 11 12. Start a new projectWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 12 13. Rename main.xml to identity.xml 3 Classes: Identity, Account, Scanner 3 Layouts: identity, account, scannerWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 13 14. Directory tree Classes (.java)Layout (.xml) Manifest.xmlWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 14 15. 10 Minute breakWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 15 16. Start with the layoutCtrl Shift F = Align Ctrl Shift S = Save and compileWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 16 17. RelativeLayout Ctrl + Space:Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 17 18. TablelayoutWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 18 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. ManifestWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 20 21. EmulatorWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 21 22. Manual runWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 22 23. Enabling your android deviceWelcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 23 24. Run your app!Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it! 24 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