Recap:Android Components Application=Set of Android Components Activity Ul Component typically correspo one screen. BroadcastReceiver Responds to notifications or statu changes.Can wake up your proc Intent Service Faceless task that runs in th background. ContentProvider Enable applications to share
Recap: Android Components Application= Set of Android Components • UI Component typically corresponding to Activity one screen. • Responds to notifications or status changes. Can wake up your process. BroadcastReceiver • Faceless task that runs in the background. Service ContentProvider • Enable applications to share data. Intent
Android Programming Lecture 10 Multimedia
Android Programming Lecture 10 Multimedia
APPLICATIONS Home Contacts Phone Browser APPLICATION FRAMEWORK Activity Window Content View Manager Manager Providers System Package Telephony Resource Location Notification Manager Manager Providers System System ANDROID RUNTIME Surface Media SQLite Manager Framework Core Libraries OpenGLES FreeType WebKit Dalvik Virtual Machine SGL SSL libe LINUX KERNEL Display Camera Flash Memory Binder (IPC) Driver Driver Driver Driver Keypad Driver WiFi Dirver Audio Power Drivers Management 3
3
Operating System Multimedia Framework Audio Video MP3 。H.263 MIDI ·H.264AVC ·PCM/WAVE ·MPEG-4 ·AAC LC etc... etc... Software Hardware Codec The Android multimedia framework includes support for playing variety of common media types,so that you can easily integrate audio,video and images into your applications
4 The Android multimedia framework includes support for playing variety of common media types, so that you can easily integrate audio, video and images into your applications. Audio • MP3 • MIDI • PCM/WAVE • AAC LC • etc… Video • H.263 • H.264 AVC • MPEG-4 • etc…
Media Playback Android multimedia framework includes support for playing variety of common media types,so that you can easily integrate audio,video and images into your applications. You can play audio or video from media files stored in your application's resources (raw TECSUN e360- resources),from standalone files in the file system,or from a data stream arriving over a network connection,all using MediaPlayer class
Media Playback 5 • Android multimedia framework includes support for playing variety of common media types, so that you can easily integrate audio, video and images into your applications. • You can play audio or video from media files stored in your application’s resources (raw resources), from standalone files in the file system, or from a data stream arriving over a network connection, all using MediaPlayer class