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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.