eestec android workshops - recap
TRANSCRIPT
![Page 1: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/1.jpg)
EESTEC Android Workshops
Recap
![Page 2: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/2.jpg)
Android, it’s APP to you!
![Page 3: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/3.jpg)
Basic ConceptsClass - Blueprint, used to create instances of itself
Object / Instance - Instances are class occurrences
Method - Function / Procedure of an object or class
Attribute - Fields with values (objects) in a object
![Page 4: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/4.jpg)
Great Things about Java
Has a garbage collector, simply do not care about memory leakage!
Your program fails, except exceptions!
Is platform-independent, runs in it’s own VM, the JVM
![Page 5: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/5.jpg)
Say hello, to my Green friend
![Page 6: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/6.jpg)
The mystery, explained...Complete software stack
Operating System
Middleware
Key Applications
Open Source Developed by the Open Handset Alliance
Fastest growing market
Platform with the most devices activations
![Page 7: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/7.jpg)
Setup a new project
![Page 8: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/8.jpg)
Activity, get a life!
The lifecycle of an Activity is really important.
Listen to Lifecycle events, in order to save and reproduce
the state of the app
![Page 9: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/9.jpg)
MVCModel
Describes the data used by our application
View
Whatever the user sees, our XML files
Controller
Handles what is shown and user interactions, can be an Activity
![Page 10: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/10.jpg)
The Photoset Model
Title - The title of the photoset
Description - The description of the photoset
ID - The unique identifier of this photoset
![Page 11: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/11.jpg)
Adapters
Match data with views
Used by list views to populate their rows
![Page 12: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/12.jpg)
Making Calls to a Server
Create a client
Create a request
Add parameters
Execute
![Page 13: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/13.jpg)
A task is a must!
![Page 14: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/14.jpg)
Javascript Object Notation
Has small footprint
Can be processed fast
Is object friendly
![Page 15: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/15.jpg)
eestec_android.akalipetis.comOur code for today
![Page 16: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/16.jpg)
One Last ThingWe want to create applications
And we’re going to help you with that!
![Page 17: EESTEC Android Workshops - Recap](https://reader036.vdocuments.net/reader036/viewer/2022070323/5596f5bd1a28ab584b8b485a/html5/thumbnails/17.jpg)
Thank You!