SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Andere mochten auch

Metadata Harvesting And Validationv2
Metadata Harvesting And Validationv2Metadata Harvesting And Validationv2
Metadata Harvesting And Validationv2Bram Vandeputte
 
Ariadne harvester and validator - technical overview
Ariadne harvester and validator - technical overviewAriadne harvester and validator - technical overview
Ariadne harvester and validator - technical overviewBram Vandeputte
 
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...Gilbert Paquette
 

Andere mochten auch (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...
 

Ähnlich wie Android presentation 2011

She saysdigiprodcrsetools2 23_sep_2011
She saysdigiprodcrsetools2 23_sep_2011She saysdigiprodcrsetools2 23_sep_2011
She saysdigiprodcrsetools2 23_sep_2011SheSays 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 studioGoran Djonovic
 
Pycon2011 android programming-using_python
Pycon2011 android programming-using_pythonPycon2011 android programming-using_python
Pycon2011 android programming-using_pythonGeorge Goh
 
Mobile developments at eXo
Mobile developments at eXoMobile developments at eXo
Mobile developments at eXoArnaud Héritier
 
Android & Google Plus
Android & Google PlusAndroid & Google Plus
Android & Google PlusiMellon
 
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_schulerhewie
 
2011 june-kuala-lumpur-gtug-hackathon
2011 june-kuala-lumpur-gtug-hackathon2011 june-kuala-lumpur-gtug-hackathon
2011 june-kuala-lumpur-gtug-hackathonikailan
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Javaamaankhan
 
What is Google App Engine?
What is Google App Engine?What is Google App Engine?
What is Google App Engine?weschwee
 
Embedded Android Workshop with Lollipop
Embedded Android Workshop with LollipopEmbedded Android Workshop with Lollipop
Embedded Android Workshop with LollipopOpersys inc.
 
PhoneGap Talk @ Sencha Con 2010
PhoneGap Talk @ Sencha Con 2010PhoneGap Talk @ Sencha Con 2010
PhoneGap Talk @ Sencha Con 2010alunny
 
Red Dirt Ruby Conference
Red Dirt Ruby ConferenceRed Dirt Ruby Conference
Red Dirt Ruby ConferenceJohn Woodell
 
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 FelixMarcel Offermans
 
I phone udvikling best brains
I phone udvikling best brainsI phone udvikling best brains
I phone udvikling best brainsOve larsen
 
Android Jump Start
Android Jump StartAndroid Jump Start
Android Jump StartConFoo
 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions newJoe Jacob
 
Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011Opersys inc.
 

Ähnlich wie 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
 

Mehr von Bram Vandeputte

Mehr von 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
 

Kürzlich hochgeladen

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 

Kürzlich hochgeladen (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 

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