SlideShare a Scribd company logo
Android
                         by Bram Vandeputte




Friday 14 October 2011
Inleiding
                  • Wat ?
                         • Verzameling van software-componenten

                         • Voor mobiele toestellen

                         • Open Source

                  • Bevat :
                         • Besturingssysteem

                         • Middleware

                         • Standaard applicaties (o.a. Market)


Friday 14 October 2011
Inleiding
                  • Ontwikkelen
                         • Java

                         • Android SDK

                            • emulator

                            • tools

                            • API’s

                         • Externe API’s : Google API

                         • Eclipse plug-in


Friday 14 October 2011
Features
                  • Application framework : enables reuse and replacement of
                         components

                  • Dalvik virtual machine : optimized for mobile devices

                  • Integrated browser based on the open source WebKit engine

                  • Optimized graphics : custom 2D graphics library; 3D graphics
                         based on the OpenGL ES 1.0 specification (hardware acceleration
                         optional)

                  • SQLite for structured data storage

                  • Media support for common audio, video, and still image formats
                         (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)

                  • hardware dependent : GSM Telephony, Bluetooth, EDGE, 3G, WiFi,
                         Camera, GPS, compass, and accelerometer.


Friday 14 October 2011
Architectuur




Friday 14 October 2011
Basics : Componenten
                  • App : no single entry point (main)
                  • Activity : scherm
                         • bestaat uit Views

                         • reageert op Events

                  • Service : geen UI (bvb. music playback)
                  • Broadcast Receiver : ontvang & reageer
                  • Content provider : data delen


Friday 14 October 2011
Basics

                  • Componenten activeren :
                         • Intent : asynchrone berichten
                           • Om Activity, Service of Broadcast Receiver aan te spreken

                           • Intent filters

                         • Content Resolver
                           • Om Content Provider aan te spreken




Friday 14 October 2011
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 14 October 2011
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 14 October 2011
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 14 October 2011
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 14 October 2011
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 14 October 2011
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 14 October 2011
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 14 October 2011
Component Lifecycles




Friday 14 October 2011
Activity




Friday 14 October 2011
Service




Friday 14 October 2011
Getting Started

                  • Get :
                         • android-sdk-<your platform>
                         • Add Android 2.3 platform
                         • eclipse + ADT plugin
                  • Links : http://bit.ly/mume-android


Friday 14 October 2011
Hello Android




Friday 14 October 2011
Hello Android
                         • Init :
                           • Run Android Manager (run tools/android)

                           • maak een AVD

                         • emulator :
                           •   export PATH=${PATH}:/MY/PATH/TO/THE/android-sdk/tools/

                           •   run emulator


                         • app :
                           •   http://developer.android.com/resources/tutorials/hello-world.html




Friday 14 October 2011
Hello Android




Friday 14 October 2011
Hello Android

                     • tools :
                         • debugging (Eclipse)

                         • adb (under platform-tools)

                            • set PATH
                            • adb shell
                            • sqlite3 data
                            • .dump
                         • LogCat


Friday 14 October 2011
Extra

                  • http://developer.android.com/guide
                  • API demos
                  • http://www.anddev.org
                  • sdcard
                  • versions : 2.3 vs 3.0 vs 4.0


Friday 14 October 2011
Friday 14 October 2011
Friday 14 October 2011
Friday 14 October 2011
Now let’s get coding



Friday 14 October 2011
Notepad tutorial

                  • http://bit.ly/android-tutorial

                  • Exercise 1
                  • Exercise 2
                  • optional :
                         • Exercise 3

                         • Extra credit (debugging)

                  • uitbreiding

Friday 14 October 2011
MyGpsApp



                  • gps mock data




Friday 14 October 2011
MyGpsApp

                  • opbouw
                         • create textview
                         • LocationManager & LocationListener
                         • permissions : AndroidManifest.xml
                         • update textview



Friday 14 October 2011
MyGpsApp



       • Add Google Maps
       • http://developer.android.com/guide/tutorials/views




Friday 14 October 2011
Maps API Key


                  • http://www.javacodegeeks.com/
                         2011/02/android-google-maps-
                         tutorial.html

                  • http://code.google.com/android/maps-
                         api-signup.html




Friday 14 October 2011

More Related Content

PDF
Developers! Y U No Open Source Ur Code?
PDF
iPhone App from concept to product
PDF
Developing Success in Mobile with Unreal Engine 4 | David Stelzer
PDF
Javascript Views, Client-side or Server-side with NodeJS
PDF
Plone IDE - the future of Plone development
PDF
Oop design magma rails 2011
PDF
From Unity3D to Unreal Engine 4
PDF
Multi-touch introduction
Developers! Y U No Open Source Ur Code?
iPhone App from concept to product
Developing Success in Mobile with Unreal Engine 4 | David Stelzer
Javascript Views, Client-side or Server-side with NodeJS
Plone IDE - the future of Plone development
Oop design magma rails 2011
From Unity3D to Unreal Engine 4
Multi-touch introduction

Viewers also liked (6)

PPT
Icoper webinar
PDF
Ariadne Harvesting
PDF
Metadata Harvesting And Validationv2
PDF
Android intro 2010
KEY
Ariadne harvester and validator - technical overview
PPT
Présentation du projet REFRER sur les référentiels de ressources éducatives r...
Icoper webinar
Ariadne Harvesting
Metadata Harvesting And Validationv2
Android intro 2010
Ariadne harvester and validator - technical overview
Présentation du projet REFRER sur les référentiels de ressources éducatives r...
Ad

Similar to Android presentation 2011 (20)

PDF
She saysdigiprodcrsetools2 23_sep_2011
PPTX
Project a day 2 introduction to android studio
PDF
Pycon2011 android programming-using_python
PDF
Mobile developments at eXo
PPTX
Android & Google Plus
PDF
App Engine Meetup
PDF
Apcug 2011 07-17-intro_to_drupal_jeff_schuler
PDF
2011 june-kuala-lumpur-gtug-hackathon
PPT
Android Application Development Using Java
ZIP
Titanium @ Minnebar
PDF
What is Google App Engine?
PDF
Embedded Android Workshop with Lollipop
PDF
PhoneGap Talk @ Sencha Con 2010
PDF
Red Dirt Ruby Conference
PDF
OSGi on Google Android using Apache Felix
PDF
I phone udvikling best brains
PDF
Android Jump Start
PDF
GENIVI + OCF Cooperation
PPT
Introduction to android sessions new
PDF
Android jumpstart at ESC Boston 2011
She saysdigiprodcrsetools2 23_sep_2011
Project a day 2 introduction to android studio
Pycon2011 android programming-using_python
Mobile developments at eXo
Android & Google Plus
App Engine Meetup
Apcug 2011 07-17-intro_to_drupal_jeff_schuler
2011 june-kuala-lumpur-gtug-hackathon
Android Application Development Using Java
Titanium @ Minnebar
What is Google App Engine?
Embedded Android Workshop with Lollipop
PhoneGap Talk @ Sencha Con 2010
Red Dirt Ruby Conference
OSGi on Google Android using Apache Felix
I phone udvikling best brains
Android Jump Start
GENIVI + OCF Cooperation
Introduction to android sessions new
Android jumpstart at ESC Boston 2011
Ad

More from Bram Vandeputte (9)

KEY
Exploring the research world
KEY
Research20
PDF
Ariadne Overview
PDF
Multi Touch Introduction
PDF
Multi Touch Hands On
PDF
Oai Workshop Extended
PDF
Metadata Harvesting And Validation
PDF
IEEE LOM
PDF
Android Presentation
Exploring the research world
Research20
Ariadne Overview
Multi Touch Introduction
Multi Touch Hands On
Oai Workshop Extended
Metadata Harvesting And Validation
IEEE LOM
Android Presentation

Recently uploaded (20)

PPTX
GDM (1) (1).pptx small presentation for students
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Classroom Observation Tools for Teachers
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Pre independence Education in Inndia.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
RMMM.pdf make it easy to upload and study
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
GDM (1) (1).pptx small presentation for students
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
human mycosis Human fungal infections are called human mycosis..pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Classroom Observation Tools for Teachers
Complications of Minimal Access Surgery at WLH
Final Presentation General Medicine 03-08-2024.pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
Microbial disease of the cardiovascular and lymphatic systems
O7-L3 Supply Chain Operations - ICLT Program
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pre independence Education in Inndia.pdf
Insiders guide to clinical Medicine.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Sports Quiz easy sports quiz sports quiz
Module 4: Burden of Disease Tutorial Slides S2 2025
RMMM.pdf make it easy to upload and study
3rd Neelam Sanjeevareddy Memorial Lecture.pdf

Android presentation 2011

  • 1. Android by Bram Vandeputte Friday 14 October 2011
  • 2. Inleiding • Wat ? • Verzameling van software-componenten • Voor mobiele toestellen • Open Source • Bevat : • Besturingssysteem • Middleware • Standaard applicaties (o.a. Market) Friday 14 October 2011
  • 3. Inleiding • Ontwikkelen • Java • Android SDK • emulator • tools • API’s • Externe API’s : Google API • Eclipse plug-in Friday 14 October 2011
  • 4. Features • Application framework : enables reuse and replacement of components • Dalvik virtual machine : optimized for mobile devices • Integrated browser based on the open source WebKit engine • Optimized graphics : custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional) • SQLite for structured data storage • Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF) • hardware dependent : GSM Telephony, Bluetooth, EDGE, 3G, WiFi, Camera, GPS, compass, and accelerometer. Friday 14 October 2011
  • 6. Basics : Componenten • App : no single entry point (main) • Activity : scherm • bestaat uit Views • reageert op Events • Service : geen UI (bvb. music playback) • Broadcast Receiver : ontvang & reageer • Content provider : data delen Friday 14 October 2011
  • 7. Basics • Componenten activeren : • Intent : asynchrone berichten • Om Activity, Service of Broadcast Receiver aan te spreken • Intent filters • Content Resolver • Om Content Provider aan te spreken Friday 14 October 2011
  • 8. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 14 October 2011
  • 9. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 14 October 2011
  • 10. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 14 October 2011
  • 11. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 14 October 2011
  • 12. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 14 October 2011
  • 13. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 14 October 2011
  • 14. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 14 October 2011
  • 18. Getting Started • Get : • android-sdk-<your platform> • Add Android 2.3 platform • eclipse + ADT plugin • Links : http://bit.ly/mume-android Friday 14 October 2011
  • 19. Hello Android Friday 14 October 2011
  • 20. Hello Android • Init : • Run Android Manager (run tools/android) • maak een AVD • emulator : • export PATH=${PATH}:/MY/PATH/TO/THE/android-sdk/tools/ • run emulator • app : • http://developer.android.com/resources/tutorials/hello-world.html Friday 14 October 2011
  • 21. Hello Android Friday 14 October 2011
  • 22. Hello Android • tools : • debugging (Eclipse) • adb (under platform-tools) • set PATH • adb shell • sqlite3 data • .dump • LogCat Friday 14 October 2011
  • 23. Extra • http://developer.android.com/guide • API demos • http://www.anddev.org • sdcard • versions : 2.3 vs 3.0 vs 4.0 Friday 14 October 2011
  • 27. Now let’s get coding Friday 14 October 2011
  • 28. Notepad tutorial • http://bit.ly/android-tutorial • Exercise 1 • Exercise 2 • optional : • Exercise 3 • Extra credit (debugging) • uitbreiding Friday 14 October 2011
  • 29. MyGpsApp • gps mock data Friday 14 October 2011
  • 30. MyGpsApp • opbouw • create textview • LocationManager & LocationListener • permissions : AndroidManifest.xml • update textview Friday 14 October 2011
  • 31. MyGpsApp • Add Google Maps • http://developer.android.com/guide/tutorials/views Friday 14 October 2011
  • 32. Maps API Key • http://www.javacodegeeks.com/ 2011/02/android-google-maps- tutorial.html • http://code.google.com/android/maps- api-signup.html Friday 14 October 2011