SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
Android
                         by Bram Vandeputte




Friday 15 October 2010
Inleiding
                  • Wat ?
                         • Verzameling van software-componenten

                         • Voor mobiele toestellen

                         • Open Source

                  • Bevat :
                         • Besturingssysteem

                         • Middleware

                         • Standaard applicaties


Friday 15 October 2010
Inleiding
                  • Ontwikkelen
                         • Java

                         • Android SDK

                            • emulator

                            • tools

                            • API’s

                         • Externe API’s : Google API

                         • Eclipse plug-in


Friday 15 October 2010
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 15 October 2010
Architectuur




Friday 15 October 2010
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 15 October 2010
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 15 October 2010
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 15 October 2010
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 15 October 2010
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 15 October 2010
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 15 October 2010
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 15 October 2010
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 15 October 2010
Basics (bis)


                  • AndroidManifest : omschrijving applicatie
                  • Layout
                  • Resources




Friday 15 October 2010
Component Lifecycles




Friday 15 October 2010
Activity




Friday 15 October 2010
Service




Friday 15 October 2010
Getting Started

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


Friday 15 October 2010
Hello Android




Friday 15 October 2010
Hello Android
                         • app :
                          •   http://developer.android.com/guide/tutorials/hello-world.html



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

                          •   emulator




Friday 15 October 2010
Hello Android




Friday 15 October 2010
Hello Android

                     • tools :
                         • debugging (Eclipse)

                         • adb

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


Friday 15 October 2010
Notepad tutorial
                  • http://developer.android.com/guide/tutorials/notepad

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

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

                         • Extra credit (debugging)

                  • uitbreiding
Friday 15 October 2010
MyGpsApp



                  • gps mock data




Friday 15 October 2010
MyGpsApp

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



Friday 15 October 2010
MyGpsApp



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




Friday 15 October 2010
Extra


                  • http://developer.android.com/guide
                  • API demos
                  • http://www.anddev.org
                  • sdcard



Friday 15 October 2010

Weitere ähnliche Inhalte

Ähnlich wie Android intro 2010

04 Model View Controller
04 Model View Controller04 Model View Controller
04 Model View Controller
Mahmoud
 
Project Betzn - LinuxTag 2011
Project Betzn - LinuxTag 2011Project Betzn - LinuxTag 2011
Project Betzn - LinuxTag 2011
Frank Karlitschek
 

Ähnlich wie Android intro 2010 (20)

Android Presentation
Android PresentationAndroid Presentation
Android Presentation
 
Eclipse loves-java script
Eclipse loves-java scriptEclipse loves-java script
Eclipse loves-java script
 
2nd Athens Android Dev Meetup: Hello Android, from zero to hello
2nd Athens Android Dev Meetup: Hello Android, from zero to hello2nd Athens Android Dev Meetup: Hello Android, from zero to hello
2nd Athens Android Dev Meetup: Hello Android, from zero to hello
 
Day1 before getting_started
Day1 before getting_startedDay1 before getting_started
Day1 before getting_started
 
Android Programming
Android ProgrammingAndroid Programming
Android Programming
 
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
GDD Brazil 2010 - What's new in Google App Engine and Google App Engine For B...
 
04 Model View Controller
04 Model View Controller04 Model View Controller
04 Model View Controller
 
Sdk overview
Sdk overviewSdk overview
Sdk overview
 
From Renamer Plugin to Polyglot IDE
From Renamer Plugin to Polyglot IDEFrom Renamer Plugin to Polyglot IDE
From Renamer Plugin to Polyglot IDE
 
Никита Корчагин - Introduction to Apple iOS Development.
Никита Корчагин - Introduction to Apple iOS Development.Никита Корчагин - Introduction to Apple iOS Development.
Никита Корчагин - Introduction to Apple iOS Development.
 
Google Developer Day 2010 Japan: 高性能な Android アプリを作るには (ティム ブレイ)
Google Developer Day 2010 Japan: 高性能な Android アプリを作るには (ティム ブレイ)Google Developer Day 2010 Japan: 高性能な Android アプリを作るには (ティム ブレイ)
Google Developer Day 2010 Japan: 高性能な Android アプリを作るには (ティム ブレイ)
 
Don Thorp & Marshall Culpepper: Advanced Titanium Development for Android
Don Thorp & Marshall Culpepper: Advanced Titanium Development for AndroidDon Thorp & Marshall Culpepper: Advanced Titanium Development for Android
Don Thorp & Marshall Culpepper: Advanced Titanium Development for Android
 
Android : Deep dive into developing MobileApp using Android
Android : Deep dive into developing MobileApp using AndroidAndroid : Deep dive into developing MobileApp using Android
Android : Deep dive into developing MobileApp using Android
 
Android development first steps
Android development   first stepsAndroid development   first steps
Android development first steps
 
Introducing Ubuntu SDK
Introducing Ubuntu SDKIntroducing Ubuntu SDK
Introducing Ubuntu SDK
 
Embedded Android Workshop with Lollipop
Embedded Android Workshop with LollipopEmbedded Android Workshop with Lollipop
Embedded Android Workshop with Lollipop
 
Embedded Android Workshop with Nougat
Embedded Android Workshop with NougatEmbedded Android Workshop with Nougat
Embedded Android Workshop with Nougat
 
stageTEK5_2016_cisner_w
stageTEK5_2016_cisner_wstageTEK5_2016_cisner_w
stageTEK5_2016_cisner_w
 
Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011Android jumpstart at ESC Boston 2011
Android jumpstart at ESC Boston 2011
 
Project Betzn - LinuxTag 2011
Project Betzn - LinuxTag 2011Project Betzn - LinuxTag 2011
Project Betzn - LinuxTag 2011
 

Mehr von Bram Vandeputte

Mehr von Bram Vandeputte (8)

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
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

Android intro 2010

  • 1. Android by Bram Vandeputte Friday 15 October 2010
  • 2. Inleiding • Wat ? • Verzameling van software-componenten • Voor mobiele toestellen • Open Source • Bevat : • Besturingssysteem • Middleware • Standaard applicaties Friday 15 October 2010
  • 3. Inleiding • Ontwikkelen • Java • Android SDK • emulator • tools • API’s • Externe API’s : Google API • Eclipse plug-in Friday 15 October 2010
  • 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 15 October 2010
  • 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 15 October 2010
  • 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 15 October 2010
  • 8. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 15 October 2010
  • 9. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 15 October 2010
  • 10. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 15 October 2010
  • 11. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 15 October 2010
  • 12. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 15 October 2010
  • 13. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 15 October 2010
  • 14. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Resources Friday 15 October 2010
  • 18. Getting Started • Get : • android-sdk-<your platform> • Add Android 2.2 platform • eclipse + ADT plugin • Links : http://bit.ly/af8h7z Friday 15 October 2010
  • 19. Hello Android Friday 15 October 2010
  • 20. Hello Android • app : • http://developer.android.com/guide/tutorials/hello-world.html • Init : maak een AVD • emulator : • export PATH=${PATH}:/MY/PATH/TO/THE/android-sdk/tools/ • emulator Friday 15 October 2010
  • 21. Hello Android Friday 15 October 2010
  • 22. Hello Android • tools : • debugging (Eclipse) • adb • set PATH • adb shell • sqlite3 data • .dump • LogCat Friday 15 October 2010
  • 23. Notepad tutorial • http://developer.android.com/guide/tutorials/notepad • http://bit.ly/android-tutorial • Exercise 1 • Exercise 2 • optional : • Exercise 3 • Extra credit (debugging) • uitbreiding Friday 15 October 2010
  • 24. MyGpsApp • gps mock data Friday 15 October 2010
  • 25. MyGpsApp • opbouw • create textview • LocationManager & LocationListener • permissions : AndroidManifest.xml • update textview Friday 15 October 2010
  • 26. MyGpsApp • Add Google Maps • http://developer.android.com/guide/tutorials/views Friday 15 October 2010
  • 27. Extra • http://developer.android.com/guide • API demos • http://www.anddev.org • sdcard Friday 15 October 2010