The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.
Most Android devices have microphones. On such devices, it might be nice to get audio input from those microphones, whether to record locally, process locally (e.g., speech recognition), or to stream out over the Internet (e.g., voice over IP).
Not surprisingly, Android has some capabilities in this area. Also, not surprisingly,
there are multiple APIs, with varying mixes of power and complexity, to allow you
to capture microphone input. In this chapter, we will examine
recording audio files and
AudioRecord for raw microphone input.
Understanding this chapter requires that you have read the core chapters of this book. Having read the chapter on audio playback is probably also a good idea. And, for the section on playing back local streams, you will want to have read up on content providers, particularly the chapter on provider patterns.
The preview of this section was whisked away by a shark-infested tornado.
The preview of this section took that left turn at Albuquerque.
The preview of this section was eaten by a grue.
The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.
The preview of this section apparently resembled a Pokémon.