Chapter 10. Multimedia

This chapter covers

  • Playing audio and video
  • Controlling the camera
  • Recording audio
  • Recording video

Today, people use cell phones for almost everything but phone calls, from chatting to surfing the web to listening to music and even to watching live streaming TV. Nowadays, a cell phone needs to support multimedia to be considered a usable device. In this chapter, we’re going to look at how you can use Android to play audio files, watch video, take pictures, and even record sound.

Android supports multimedia by using the open source multimedia system called OpenCORE from PacketVideo Corporation. OpenCORE provides the foundation for Android’s media services, which Android wraps in an easy-to-use API. In addition to the ...

Get Android in Action, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.