Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Android workshop week1
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. 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
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
12. Start a new project
Welcome | 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, scanner
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
13
14. Directory tree
Classes (.java)
Layout (.xml)
Manifest.xml
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
14
15. 10 Minute break
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
15
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
18. Tablelayout
Welcome | 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. Manifest
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
20
21. Emulator
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
21
22. Manual run
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
22
23. Enabling your android device
Welcome | 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
Notes de l'éditeur
Goal of workshop:-Idea forapp, build in 1 week.-App will be like a stripped down car but will drive.-Make you aware common pitfalls every beginner has.-Dropbox contains source code, books and this presentation.
Android is a linux-based operating system. The first release in september 2008 was primarily for smartphones. Nowadays android powers-Televisions-Microwaves-cars-washing machines-tablets-wristwatches..and also phones.
New apps can be downloaded through “Google Play”.
The new hardware in these smart devices enables a lot of new possibilities.With android devices you can:-Take picture-Get location of user-Sense motion-Touchscreen-Control with voiceIn the next video these hardware features are used
Everybody has their own idea for an app. I also have an idea for an app and I’m gonna show you how to build it. I think your app idea will have a lot in common with my app so during the workshop you adjust it for your own idea.
The manifest file describes the functionality,requirements and permissions of the application. It is like a table of contents for your app. A class is also known as a “activity”.