O'Reilly logo

Android Apps with Eclipse by Onur Cinar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    8

Project: Extending Movie Player for AVI Movies

In Chapter 6, we developed a movie player application on Android. The application obtains the names of existing movie files through the content provider, and presents them to the user in a list format. After the user selects a movie, the application indirectly launches the default video player activity to play the movie.

Since our movie player is relying on the default video player, it can play only the video formats that are supported by the Android platform. In this chapter, we will expand the movie player application to support Audio Video Interleave (AVI) movie files. AVI is more of a container format that can wrap many different media types. For the sake of simplicity, our AVI ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required