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 android.media package. In this section, we are going to explore the media APIs from this package.

At the heart of the android.media ...

Get Pro Android 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.