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