EESTEC Android Workshops - Recap

Post on 04-Jul-2015

198 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

Transcript

EESTEC Android Workshops

Recap

Android, it’s APP to you!

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

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

Say hello, to my Green friend

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

Setup a new project

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

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

The Photoset Model

Title - The title of the photoset

Description - The description of the photoset

ID - The unique identifier of this photoset

Adapters

Match data with views

Used by list views to populate their rows

Making Calls to a Server

Create a client

Create a request

Add parameters

Execute

A task is a must!

Javascript Object Notation

Has small footprint

Can be processed fast

Is object friendly

eestec_android.akalipetis.comOur code for today

One Last ThingWe want to create applications

And we’re going to help you with that!

Thank You!

top related