Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Summary

Here is a summary the topics covered in this media chapter on audio and video:

  • SD cards, and how to create SD card images
  • Manually putting files onto and getting files from SD cards
  • The standard DCIM directory for picture and video files
  • Android constants for specifying other types of directories on SD cards, and the method calls to use them with
  • Playing audio through a MediaPlayer
  • Several ways to source audio for MediaPlayer, from local application resources, to files, to streaming over the network
  • Steps to take with a MediaPlayer to get the audio to come out properly
  • SoundPool and its ability to play several sounds simultaneously
  • SoundPool's limitations in terms of the amount of audio it can handle
  • AsyncPlayer, which is useful because sounds generally need to be managed in the background

  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial