In this chapter we looked at how the Android SDK makes use of multimedia and how you can play, save, and record video and sound. We also looked at various features the Android MediaPlayer offers the developer, from a built-in video player to wide support for formats, encodings, and standards.
We also looked at how to interact with other hardware devices attached to the phone, such as a microphone and camera. We used the SDK to create an SD card image for the emulator to simulate SD cards, and we used the MediaRecorder application to record audio and save it to the SD card.
While Android's SDK and Emulator, at the time of writing, do not provide a good way to interact with a webcam or microphone on your development platform, you can create real multimedia applications using the SDK now, as some vendors already have done on their phone platforms. Google Android currently offers you everything you need to create rich and compelling media applications, and its focus on supporting industry and open standards guarantees your applications will have wide support on a variety of phones.
In the next chapter you will learn all about how to use Android's location services to interact with GPS and maps. By mixing in what you have learned in this chapter, you could create your own GPS application that not only provides voice direction but could even respond to voice commands.
Figure 10.6 An example of audio files being saved to the SD card image in the emulator
Was this article helpful?