SlideShare una empresa de Scribd logo
1 de 32
Descargar para leer sin conexión
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

Más contenido relacionado

Destacado (6)

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

Similar a Android presentation 2011

She saysdigiprodcrsetools2 23_sep_2011
She saysdigiprodcrsetools2 23_sep_2011She saysdigiprodcrsetools2 23_sep_2011
She saysdigiprodcrsetools2 23_sep_2011
SheSays US
 
Project a day 2 introduction to android studio
Project a day 2   introduction to android studioProject a day 2   introduction to android studio
Project a day 2 introduction to android studio
Goran Djonovic
 
Android & Google Plus
Android & Google PlusAndroid & Google Plus
Android & Google Plus
iMellon
 
Android Jump Start
Android Jump StartAndroid Jump Start
Android Jump Start
ConFoo
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
 

Similar a Android presentation 2011 (20)

She saysdigiprodcrsetools2 23_sep_2011
She saysdigiprodcrsetools2 23_sep_2011She saysdigiprodcrsetools2 23_sep_2011
She saysdigiprodcrsetools2 23_sep_2011
 
Project a day 2 introduction to android studio
Project a day 2   introduction to android studioProject a day 2   introduction to android studio
Project a day 2 introduction to android studio
 
Pycon2011 android programming-using_python
Pycon2011 android programming-using_pythonPycon2011 android programming-using_python
Pycon2011 android programming-using_python
 
Mobile developments at eXo
Mobile developments at eXoMobile developments at eXo
Mobile developments at eXo
 
Android & Google Plus
Android & Google PlusAndroid & Google Plus
Android & Google Plus
 
App Engine Meetup
App Engine MeetupApp Engine Meetup
App Engine Meetup
 
Apcug 2011 07-17-intro_to_drupal_jeff_schuler
Apcug 2011 07-17-intro_to_drupal_jeff_schulerApcug 2011 07-17-intro_to_drupal_jeff_schuler
Apcug 2011 07-17-intro_to_drupal_jeff_schuler
 
2011 june-kuala-lumpur-gtug-hackathon
2011 june-kuala-lumpur-gtug-hackathon2011 june-kuala-lumpur-gtug-hackathon
2011 june-kuala-lumpur-gtug-hackathon
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Titanium @ Minnebar
Titanium @ MinnebarTitanium @ Minnebar
Titanium @ Minnebar
 
What is Google App Engine?
What is Google App Engine?What is Google App Engine?
What is Google App Engine?
 
Embedded Android Workshop with Lollipop
Embedded Android Workshop with LollipopEmbedded Android Workshop with Lollipop
Embedded Android Workshop with Lollipop
 
PhoneGap Talk @ Sencha Con 2010
PhoneGap Talk @ Sencha Con 2010PhoneGap Talk @ Sencha Con 2010
PhoneGap Talk @ Sencha Con 2010
 
Red Dirt Ruby Conference
Red Dirt Ruby ConferenceRed Dirt Ruby Conference
Red Dirt Ruby Conference
 
OSGi on Google Android using Apache Felix
OSGi on Google Android using Apache FelixOSGi on Google Android using Apache Felix
OSGi on Google Android using Apache Felix
 
I phone udvikling best brains
I phone udvikling best brainsI phone udvikling best brains
I phone udvikling best brains
 
Android Jump Start
Android Jump StartAndroid Jump Start
Android Jump Start
 
GENIVI + OCF Cooperation
GENIVI + OCF CooperationGENIVI + OCF Cooperation
GENIVI + OCF Cooperation
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011
 

Más de Bram Vandeputte

Multi Touch Introduction
Multi Touch IntroductionMulti Touch Introduction
Multi Touch Introduction
Bram Vandeputte
 
Metadata Harvesting And Validation
Metadata Harvesting And ValidationMetadata Harvesting And Validation
Metadata Harvesting And Validation
Bram Vandeputte
 

Más de Bram Vandeputte (9)

Exploring the research world
Exploring the research worldExploring the research world
Exploring the research world
 
Research20
Research20Research20
Research20
 
Ariadne Overview
Ariadne OverviewAriadne Overview
Ariadne Overview
 
Multi Touch Introduction
Multi Touch IntroductionMulti Touch Introduction
Multi Touch Introduction
 
Multi Touch Hands On
Multi Touch Hands OnMulti Touch Hands On
Multi Touch Hands On
 
Oai Workshop Extended
Oai Workshop ExtendedOai Workshop Extended
Oai Workshop Extended
 
Metadata Harvesting And Validation
Metadata Harvesting And ValidationMetadata Harvesting And Validation
Metadata Harvesting And Validation
 
IEEE LOM
IEEE LOMIEEE LOM
IEEE LOM
 
Android Presentation
Android PresentationAndroid Presentation
Android Presentation
 

Último

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Último (20)

Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

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