The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

16
The world is mobile

Transcript of The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Page 1: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

The world is mobile

Page 2: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

The world is mobile

DESARROLLO ANDROID Y CONCEPTOS AVANZADOSBrayan Villate

Kubo - Developer

Page 3: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

CONTENIDO:

Introducción herramientas para desarrollar en Android

• SDK Android, NDK - Native Development Kit. Desarrollo navito, App Inventor para Android, HyperNext Android Creator, Mono, Adobe Flex (Flash), Adobe CS6, Python ,  PhoneGap, Corona, Titanum

Desarrollo para Android en NDK

• Induccion del desarrollo para Android• Ciclo de vida Android Activities• Diseñar para diferentes pantallas.• Manejo de ListView, Adapter y AsyncTask• Fragments Nativos y Fragments Librería de soporte.• Nuevas características de desarrollo en Android 4• Tips sobre mapas, Redes sociales, entre otros.

Page 4: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Introducción herramientas para desarrollar en Android    SDK Android.    NDK - Native Development Kit. Desarrollo

navito.    App Inventor para Android    HyperNext Android Creator    Mono    Adobe Flex (Flash)    Adobe CS6    Python      Otros    PhoneGap, Corona, Titanum

Page 5: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Ciclo de vida de los Activities

Activity: Son clases publicas que representan la parte grafica de cada una de las pantallas de nuestra aplicación.

Page 6: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Ciclo de vida de los Activities

Page 7: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Diseño para diferentes pantallas

Android utiliza dos propiedades para clasificar sus pantallas y sonTamaño (pequeño, normal, grande y

extragrande). Densidad (baja dpi, media dpi, alta dpi,

extra-alta dpi )

Page 8: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Diseño para diferentes pantallas

layout-xlargemedium-dpi

layout-largehigh-dpi

layout-Smalllow-dpi

Page 9: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Diseño para diferentes pantallas

Page 10: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Manejo de ListView, Adapter y AsyncTask

MiActivity extends Activity{ } MyListView

MyAsyncTask(){…..myadapter.notifyDataSetChanged();}

MyArrayAdapter(context,layout,array de datos){

…….}

Page 11: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Fragments Nativos y Fragments Librería de soporte.Fragments: Representa un comportamiento

o una porción de interfaz grafica en un activity

Fragments librería soporte: viewPager (para utilizar desde android 1.6 en adelante)

Fragments Nativo: funciona a partir de android 3

Page 12: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Ciclo de vida Fragments

Page 13: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Fragments

Page 14: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

Nuevas características de desarrollo en Android 4

Android Beam.Bajo nivel de streaming para multimediaNuevas funcionalidades para la camaraControles remotos de audioMejoras en “Layouts”

Page 15: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

TIPS• Mapas el key de debug se genera por consola y se debe colocar en el xml (layout) donde se coloco el mapa, tambien se debe generar un key de produccion cuando deseamos enviar nuestra app al market • Redes sociales:Twitter: se debe crear una app en twitter developers (https://dev.twitter.com/) para poder obtener el consumer key y consumer secret para utilizarlo en nuestro proyecto y podernos autenticarFacebook: Tambien debemos crear una aplicación para obtener el “AppID” y muy importante generar el key hashs se coloca en la casilla KeyHash del app en face • Destruccion del Activity: Rotacion de pantalla recorre todo el

ciclo de vida del activity

Page 16: The world is mobile. DESARROLLO ANDROID Y CONCEPTOS AVANZADOS Brayan Villate Kubo - Developer.

The world is mobile

http://kubo.co@kubomobile