Chapter     18

Playing Captive Video Using the VideoView and MediaPlayer Classes

In this eighteenth chapter, you’ll gain more experience using the Android VideoView, Uri, and MediaPlayer classes, as well as optimizing multiple “target” digital video asset resolutions for use with popular Android devices featuring different physical display screen resolutions and pixel pitch specifications.

We will also optimize for a range of digital video playback data rates, or bit rates, to accommodate processor power ranging from a single-core up to a quad-core and beyond (there are already octa-core devices available out there, such as the Galaxy S4 from Samsung Electronics).

We will first take a look at the various stages of a digital video asset’s life ...

Get Pro Android Graphics 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.