eestec android workshops - recap

17
EESTEC Android Workshops Recap

Upload: antonis-kalipetis

Post on 04-Jul-2015

200 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: EESTEC Android Workshops - Recap

EESTEC Android Workshops

Recap

Page 2: EESTEC Android Workshops - Recap

Android, it’s APP to you!

Page 3: EESTEC Android Workshops - Recap

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

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

Say hello, to my Green friend

Page 6: EESTEC Android Workshops - Recap

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

Setup a new project

Page 8: EESTEC Android Workshops - Recap

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

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

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

Adapters

Match data with views

Used by list views to populate their rows

Page 12: EESTEC Android Workshops - Recap

Making Calls to a Server

Create a client

Create a request

Add parameters

Execute

Page 13: EESTEC Android Workshops - Recap

A task is a must!

Page 14: EESTEC Android Workshops - Recap

Javascript Object Notation

Has small footprint

Can be processed fast

Is object friendly

Page 15: EESTEC Android Workshops - Recap

eestec_android.akalipetis.comOur code for today

Page 16: EESTEC Android Workshops - Recap

One Last ThingWe want to create applications

And we’re going to help you with that!

Page 17: EESTEC Android Workshops - Recap

Thank You!