Android workshop week1
-
Upload
jim-clermonts -
Category
Technology
-
view
28 -
download
0
description
Transcript of Android workshop week1
1
Android workshop part 1
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
Welcome!
Jim Clermonts | Electrical Engineer Busy with Android
@JimClermonts
2
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
3
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
4
Different versions
Android 2.0 Android 3.0, 4.0
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
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!
6
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
7
Enabling technologies
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
8
Your idea
“The StuffLocator”
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
9
View diagram
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
10
a Class
Classname
Fields
Methods (parameters)
Noun
Verb
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
11
Class Diagram
Package
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
12
Start a new project
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
13
Rename main.xml to identity.xml3 Classes: Identity, Account, Scanner3 Layouts: identity, account, scanner
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
14
Classes (.java)
Manifest.xml
Directory tree
Layout (.xml)
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
15
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
10 Minute break
16
Start with the layout
Ctrl – Shift – F = AlignCtrl – Shift – S = Save and compile
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
17
Ctrl + Space:RelativeLayout
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
18
Tablelayout
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
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!
20
Manifest
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
21
Emulator
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
22
Manual run
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
23
Enabling your android device
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
24
Run your app!
Welcome | Goal | Android | Your idea | View & Class | First project | Layouts | Manifest | Run it!
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!