Till KTH:s startsida Till KTH:s startsida

Visa version

Version skapad av Anders Lindström 2013-11-29 08:46

Visa < föregående | nästa >
Jämför < föregående | nästa >

Föreläsningar, Android

Föreläsningar, Android

7/11

1 Mobila applikationer, intro till Android.pdf Smartphone software. Introduction to the Android OS and the Dalvik VM. The Activity class.

Intressanta videos om Androids arkitektur (ca 30 min totalt): http://developer.android.com/develop/index.html - Under "Videoplaylists" letar du efter "Androidology", part 1, 2 and 3. Speciellt part 2 gör det lättare att första denna, och nästa, föreläsning.

Guidline "Designing for performance": Kursboken, Meier, sid 30-38, samt http://developer.android.com/guide/practices/design/performance.html

11/11

2 UI, Events, Activities HT13.pdf

Exempelprojekt från föreläsningen:
UIExample.zip, SpinnerWithAdapter.zip, ToDoListOld.zip, ToDoList.zip, ToDoListWithCustomAdapter.zip, ActivityLifeCycle.zip
Importera projekten till Eclipse via File/Import/Existing projects into workspace/Select archive file

13/11

3 Intents, Networking HT13.pdf

Exempelprojekt:
ExplicitIntent.zip
ImplicitIntents.zip
SubActivity.zip
Networking1.zip
XMLParserExampe.zip

18/11

4 Concurrent programming, services, files.pdf

Exempelprojekt
WorkerThreadExample1.zip
WorkerThreadExample2.zip
ASyncTaskExample2.zip
ServiceExample.zip

27/11

5 Graphics, animations, SurfaceView HT13.pdf
Custom views and the layout file.pdf

Exempelprojekt
TweenAnimation.zip, Basic2DGraphics.zip, SurfaceViewEx.zip, TouchEventExample.zip

29/11

Sensorer.pdf
Sensorer + Android.pdf

AvailableSensors.zip
AccelerometerTest.zip (v 4.0). För att se skillnaden på hårdvaru- och virtuell sensor, byt från  "TYPE_ACCELEOROMETER" till "TYPE_LINEAR_ACCELERATION", på aktivitetens rad
Sensor accelerometer = sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);