© Wallace Jackson 2017

Wallace Jackson, Android Apps for Absolute Beginners, 10.1007/978-1-4842-2268-3_11

11. Digital Video: Streaming Video, MediaPlayer, and MediaController Classes

Wallace Jackson

(1)Lompoc, California, USA

In the previous chapter covering 2D Animation, we implemented motion graphics in Android and digital image file formats such as PNG or JPEG in conjunction with XML constructs to create frame-based animation, as well as using procedural (tween or vector) animation to rotate, scale, move, and fade UI elements.

There is another way that you can play a series of frames in Android, called digital video. Digital video assets are especially well-suited for situations when you have hundreds or even thousands of frames, and cannot easily ...

Get Android Apps for Absolute Beginners: Covering Android 7, Fourth Edition 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.