34,333
edits
Changes
no edit summary
The Android SDK includes two classes that make the implementation of video playback on Android devices extremely easy to implement when developing applications. This chapter will provide an overview of these two classes, VideoView and MediaController, before working through the creation of a simple video playback application.
== Introducing the Android VideoView Class Class ==
By far the simplest way to display video within an Android application is to use the VideoView class. This is a visual component which, when added to the layout of an activity, provides a surface onto which a video may be played. Android currently supports the following video formats:

[[File:as3.0_video_player_ui.png]]

[[File:as3.0_video_player_running.png]]

[[File:as3.0_video_player_controller.png]]