0
Android
by Bram Vandeputte
Inleiding

• Wat ?
  • Verzameling van software-componenten

  • Voor mobiele toestellen

• Bevat :
  • Besturingssysteem
...
Inleiding

• Ontwikkelen
  • Java

  • Android SDK

     • emulator

     • tools

     • API’s

  • Eclipse plug-in
Features
• Application framework : enables reuse and replacement of
   components

• Dalvik virtual machine : optimized fo...
Architectuur
Basics : Componenten
• Activity : scherm
  • bestaat uit Views

  • reageert op Events

• Service : geen UI (bvb. music pl...
Basics

• Componenten activeren :
  • Intent : asynchrone berichten
    • Om Activity, Service of Broadcast Receiver aan t...
Basics (bis)


• AndroidManifest : omschrijving applicatie
• Layout
• Strings
Getting Started

• Get :
  • android-sdk-<your platform>-1.6
  • eclipse
• http://developer.android.com/sdk/
  1.6_r1/inst...
Hello Android
Hello Android
• app :
 •   http://developer.android.com/guide/tutorials/hello-world.html



• Init : maak een AVD
• emulat...
Hello Android
Hello Android

• tools :
  • debugging (Eclipse)

  • adb

     • set PATH
     • adb shell
     • sqlite3 data
     • .du...
Notepad tutorial
• http://developer.android.com/guide/tutorials/notepad/index.html

• Exercise 1
• Exercise 2
• optional :...
bram.vandeputte@cs..,.
MyFirstGPS



• gps mock data
MyFirstGPS

• opbouw
 • create textview
 • LocationManager & LocationListener
 • permissions
 • update textview
MyFirstGPS



• http://developer.android.com/guide/tutorials/views
Extra


• API demos
• http://www.anddev.org
• sdcard
Upcoming SlideShare
Loading in...5
×

Android Presentation

1,762

Published on

Published in: Technology, Art & Photos
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
1,762
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
46
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Android Presentation"

  1. 1. Android by Bram Vandeputte
  2. 2. Inleiding • Wat ? • Verzameling van software-componenten • Voor mobiele toestellen • Bevat : • Besturingssysteem • Middleware • Standaard applicaties
  3. 3. Inleiding • Ontwikkelen • Java • Android SDK • emulator • tools • API’s • Eclipse plug-in
  4. 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.
  5. 5. Architectuur
  6. 6. Basics : Componenten • Activity : scherm • bestaat uit Views • reageert op Events • Service : geen UI (bvb. music playback) • Broadcast Receiver : ontvang & reageer • Content provider : data delen
  7. 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
  8. 8. Basics (bis) • AndroidManifest : omschrijving applicatie • Layout • Strings
  9. 9. Getting Started • Get : • android-sdk-<your platform>-1.6 • eclipse • http://developer.android.com/sdk/ 1.6_r1/installing.html
  10. 10. Hello Android
  11. 11. 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
  12. 12. Hello Android
  13. 13. Hello Android • tools : • debugging (Eclipse) • adb • set PATH • adb shell • sqlite3 data • .dump • LogCat
  14. 14. Notepad tutorial • http://developer.android.com/guide/tutorials/notepad/index.html • Exercise 1 • Exercise 2 • optional : • Exercise 3 • Extra credit (debugging) • uitbreiding
  15. 15. bram.vandeputte@cs..,.
  16. 16. MyFirstGPS • gps mock data
  17. 17. MyFirstGPS • opbouw • create textview • LocationManager & LocationListener • permissions • update textview
  18. 18. MyFirstGPS • http://developer.android.com/guide/tutorials/views
  19. 19. Extra • API demos • http://www.anddev.org • sdcard
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×