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

11.5. Summary

At this point, you should be a multimedia expert! There’s a lot of information in this chapter, but here are some key points to remember:

  • You can assume device capabilities, but only if you explicitly state these assumptions in your application’s manifest. If a feature is optional, then you’ll need to test for it.

  • You can package multimedia files within your application, and only your application will have access to them.

  • You can access shared locations on the SD card, but multimedia can be stored anywhere. Use the MediaStore’s ContentProvider to find multimedia and use its querying capabilities to filter out inappropriate content.

  • If you’re playing back audio or video, make sure you bind this playback to the lifecycle of the Activity that’s using it.

  • For capturing pictures or video, it’s both easier and better for the user if you rely on Android’s Intent system to interact with the specialized Camera application on the device.


  

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