Chapter 9. Using the Media Framework and Telephony APIs

Now we are going to explore two very interesting portions of the Android SDK: media and telephony. In our media discussion in the first part of the chapter, we will show you how to play and record audio and video. In our telephony discussion in the second part of the chapter, we will show you how to send and receive Short Message Service (SMS) messages. We will also touch on several other interesting aspects of the telephony APIs in Android.

Let's begin by talking about the media APIs.

Using the Media APIs

Android supports playing audio and video content under the package. In this section, we are going to explore the media APIs from this package.

At the heart of the ...

Get Pro Android 2 now with O’Reilly online learning.

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