diff --git a/.classpath b/.classpath index 06efd60..5bea7b4 100644 --- a/.classpath +++ b/.classpath @@ -4,6 +4,6 @@ - + diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html new file mode 100644 index 0000000..52c8e0a --- /dev/null +++ b/doc/allclasses-frame.html @@ -0,0 +1,69 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
MediaController +
+MediaController.MediaPlayerControl +
+MediaPlayer +
+MediaPlayer.OnBufferingUpdateListener +
+MediaPlayer.OnCompletionListener +
+MediaPlayer.OnErrorListener +
+MediaPlayer.OnInfoListener +
+MediaPlayer.OnPreparedListener +
+MediaPlayer.OnSeekCompleteListener +
+MediaPlayer.OnSubtitleUpdateListener +
+MediaPlayer.OnVideoSizeChangedListener +
+VideoView +
+VitamioInstaller +
+VitamioInstaller.VitamioNotCompatibleException +
+VitamioInstaller.VitamioNotFoundException +
+VR +
+VR.drawable +
+VR.id +
+VR.layout +
+VR.string +
+
+ + + diff --git a/doc/allclasses-noframe.html b/doc/allclasses-noframe.html new file mode 100644 index 0000000..899d9a4 --- /dev/null +++ b/doc/allclasses-noframe.html @@ -0,0 +1,69 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
MediaController +
+MediaController.MediaPlayerControl +
+MediaPlayer +
+MediaPlayer.OnBufferingUpdateListener +
+MediaPlayer.OnCompletionListener +
+MediaPlayer.OnErrorListener +
+MediaPlayer.OnInfoListener +
+MediaPlayer.OnPreparedListener +
+MediaPlayer.OnSeekCompleteListener +
+MediaPlayer.OnSubtitleUpdateListener +
+MediaPlayer.OnVideoSizeChangedListener +
+VideoView +
+VitamioInstaller +
+VitamioInstaller.VitamioNotCompatibleException +
+VitamioInstaller.VitamioNotFoundException +
+VR +
+VR.drawable +
+VR.id +
+VR.layout +
+VR.string +
+
+ + + diff --git a/doc/constant-values.html b/doc/constant-values.html new file mode 100644 index 0000000..0b4f0c8 --- /dev/null +++ b/doc/constant-values.html @@ -0,0 +1,318 @@ + + + + + + +Constant Field Values + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+io.vov.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
io.vov.vitamio.MediaPlayer
+public static final intMEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK200
+public static final intMEDIA_ERROR_UNKNOWN1
+public static final intMEDIA_INFO_BUFFERING_END702
+public static final intMEDIA_INFO_BUFFERING_START701
+public static final intMEDIA_INFO_NOT_SEEKABLE801
+public static final intMEDIA_INFO_VIDEO_TRACK_LAGGING700
+public static final intSUBTITLE_EXTERNAL1
+public static final intSUBTITLE_INTERNAL0
+public static final intVIDEOQUALITY_HIGH16
+public static final intVIDEOQUALITY_LOW-16
+public static final intVIDEOQUALITY_MEDIUM0
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
io.vov.vitamio.VitamioInstaller
+public static final java.lang.StringVITAMIO_PACKAGE_ARMV6"io.vov.vitamio.v6"
+public static final java.lang.StringVITAMIO_PACKAGE_ARMV6_VFP"io.vov.vitamio.v6vfp"
+public static final java.lang.StringVITAMIO_PACKAGE_ARMV7_NEON"io.vov.vitamio"
+public static final java.lang.StringVITAMIO_PACKAGE_ARMV7_VFPV3"io.vov.vitamio.v7vfpv3"
+public static final intVITAMIO_VERSION_CODE1
+public static final java.lang.StringVITAMIO_VERSION_NAME"1.0"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
io.vov.vitamio.widget.VideoView
+public static final intVIDEO_LAYOUT_ORIGIN0
+public static final intVIDEO_LAYOUT_SCALE1
+public static final intVIDEO_LAYOUT_STRETCH2
+public static final intVIDEO_LAYOUT_ZOOM3
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/deprecated-list.html b/doc/deprecated-list.html new file mode 100644 index 0000000..e7ce1d5 --- /dev/null +++ b/doc/deprecated-list.html @@ -0,0 +1,146 @@ + + + + + + +Deprecated List + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents
    +
+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/help-doc.html b/doc/help-doc.html new file mode 100644 index 0000000..c8acf56 --- /dev/null +++ b/doc/help-doc.html @@ -0,0 +1,223 @@ + + + + + + +API Help + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    +
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description +

    +

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary +

    +

  • Field Detail
  • Constructor Detail
  • Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

    +
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

    +
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    +
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/index-files/index-1.html b/doc/index-files/index-1.html new file mode 100644 index 0000000..cc160ca --- /dev/null +++ b/doc/index-files/index-1.html @@ -0,0 +1,150 @@ + + + + + + +B-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+B

+
+
buildInstallerDialog(String, String, String) - +Method in class io.vov.vitamio.VitamioInstaller +
A simple helper dialog to guide the user install a compatible Vitamio + package, you may build a more beautiful one by yourself. +
buildNotCompatibleDialog(String, String, String) - +Method in class io.vov.vitamio.VitamioInstaller +
A simple helper dialog telling user Vitamio is not compatible with the + device, you may build a more beautiful one by yourself. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-10.html b/doc/index-files/index-10.html new file mode 100644 index 0000000..f3ad032 --- /dev/null +++ b/doc/index-files/index-10.html @@ -0,0 +1,169 @@ + + + + + + +P-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+P

+
+
pause() - +Method in class io.vov.vitamio.MediaPlayer +
Pauses playback. +
pause - +Static variable in class io.vov.vitamio.VR.id +
  +
pause() - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
pause() - +Method in class io.vov.vitamio.widget.VideoView +
  +
pause_button - +Static variable in class io.vov.vitamio.VR.drawable +
  +
play_button - +Static variable in class io.vov.vitamio.VR.drawable +
  +
prepare() - +Method in class io.vov.vitamio.MediaPlayer +
Prepares the player for playback, synchronously. +
prepareAsync() - +Method in class io.vov.vitamio.MediaPlayer +
Prepares the player for playback, asynchronously. +
putSource(String, String) - +Method in class io.vov.vitamio.VitamioInstaller +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-11.html b/doc/index-files/index-11.html new file mode 100644 index 0000000..f66abb7 --- /dev/null +++ b/doc/index-files/index-11.html @@ -0,0 +1,154 @@ + + + + + + +R-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+R

+
+
release() - +Method in class io.vov.vitamio.MediaPlayer +
Releases resources associated with this MediaPlayer object. +
releaseDisplay() - +Method in class io.vov.vitamio.MediaPlayer +
Calling this result in only the audio track being played. +
reset() - +Method in class io.vov.vitamio.MediaPlayer +
Resets the MediaPlayer to its uninitialized state. +
resume() - +Method in class io.vov.vitamio.widget.VideoView +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-12.html b/doc/index-files/index-12.html new file mode 100644 index 0000000..db9628d --- /dev/null +++ b/doc/index-files/index-12.html @@ -0,0 +1,347 @@ + + + + + + +S-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+S

+
+
seekTo(long) - +Method in class io.vov.vitamio.MediaPlayer +
Seeks to specified time position. +
seekTo(long) - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
seekTo(long) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setAnchorView(View) - +Method in class io.vov.vitamio.widget.MediaController +
Set the view that acts as the anchor for the control view. +
setAudioTrack(int) - +Method in class io.vov.vitamio.MediaPlayer +
Set the audio track to play, must be in the result of + MediaPlayer.getAudioTrackMap(String) +
setAudioTrack(int) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setBufferSize(int) - +Method in class io.vov.vitamio.MediaPlayer +
The buffer to fill before playback, default is 1024KB +
setBufferSize(int) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setDataSource(Context, Uri) - +Method in class io.vov.vitamio.MediaPlayer +
Sets the data source as a content Uri. +
setDataSource(String) - +Method in class io.vov.vitamio.MediaPlayer +
Sets the data source (file-path or http/rtsp/mms URL) to use. +
setDataSource(FileDescriptor) - +Method in class io.vov.vitamio.MediaPlayer +
Sets the data source (FileDescriptor) to use. +
setDisplay(SurfaceHolder) - +Method in class io.vov.vitamio.MediaPlayer +
Sets the SurfaceHolder to use for displaying the video portion of the + media. +
setEnabled(boolean) - +Method in class io.vov.vitamio.widget.MediaController +
  +
setFileName(String) - +Method in class io.vov.vitamio.widget.MediaController +
  +
setInfoView(TextView) - +Method in class io.vov.vitamio.widget.MediaController +
  +
setMediaController(MediaController) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setMediaPlayer(MediaController.MediaPlayerControl) - +Method in class io.vov.vitamio.widget.MediaController +
  +
setMetaEncoding(String) - +Method in class io.vov.vitamio.MediaPlayer +
Set the encoding MediaPlayer will use to determine the metadata +
setMetaEncoding(String) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener) - +Method in class io.vov.vitamio.MediaPlayer +
Register a callback to be invoked when the status of a network stream's + buffer has changed. +
setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setOnCompletionListener(MediaPlayer.OnCompletionListener) - +Method in class io.vov.vitamio.MediaPlayer +
Register a callback to be invoked when the end of a media source has been + reached during playback. +
setOnCompletionListener(MediaPlayer.OnCompletionListener) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setOnErrorListener(MediaPlayer.OnErrorListener) - +Method in class io.vov.vitamio.MediaPlayer +
Register a callback to be invoked when an error has happened during an + asynchronous operation. +
setOnErrorListener(MediaPlayer.OnErrorListener) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setOnInfoListener(MediaPlayer.OnInfoListener) - +Method in class io.vov.vitamio.MediaPlayer +
  +
setOnInfoListener(MediaPlayer.OnInfoListener) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setOnPreparedListener(MediaPlayer.OnPreparedListener) - +Method in class io.vov.vitamio.MediaPlayer +
Register a callback to be invoked when the media source is ready for + playback. +
setOnPreparedListener(MediaPlayer.OnPreparedListener) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener) - +Method in class io.vov.vitamio.MediaPlayer +
Register a callback to be invoked when a seek operation has been + completed. +
setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener) - +Method in class io.vov.vitamio.MediaPlayer +
Register a callback to be invoked when a subtitle need to display. +
setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setOnVideoSizeChangedListener(MediaPlayer.OnVideoSizeChangedListener) - +Method in class io.vov.vitamio.MediaPlayer +
Register a callback to be invoked when the video size is known or + updated. +
setScreenOnWhilePlaying(boolean) - +Method in class io.vov.vitamio.MediaPlayer +
Control whether we should use the attached SurfaceHolder to keep the + screen on while video playback is occurring. +
setSubEncoding(String) - +Method in class io.vov.vitamio.MediaPlayer +
Set the encoding to display text subtitle. +
setSubEncoding(String) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setSubPath(String) - +Method in class io.vov.vitamio.MediaPlayer +
Set the file-path of an external subtitle. +
setSubPath(String) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setSubShown(boolean) - +Method in class io.vov.vitamio.MediaPlayer +
Tell the MediaPlayer whether to show subtitle +
setSubShown(boolean) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setSubTrack(int) - +Method in class io.vov.vitamio.MediaPlayer +
Set the subtitle track to display, must be in the result of + MediaPlayer.getSubTrackMap(String) +
setSubTrack(int) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setVideoLayout(int, float) - +Method in class io.vov.vitamio.widget.VideoView +
Set the display options +
setVideoPath(String) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setVideoQuality(int) - +Method in class io.vov.vitamio.MediaPlayer +
Set the quality when play video, if the video is too lag, you may try + VIDEOQUALITY_LOW, default is VIDEOQUALITY_LOW. +
setVideoQuality(int) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setVideoURI(Uri) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setVolume(float, float) - +Method in class io.vov.vitamio.MediaPlayer +
  +
setVolume(float, float) - +Method in class io.vov.vitamio.widget.VideoView +
  +
setWakeMode(Context, int) - +Method in class io.vov.vitamio.MediaPlayer +
Set the low-level power management behavior for this MediaPlayer. +
show() - +Method in class io.vov.vitamio.widget.MediaController +
  +
show(int) - +Method in class io.vov.vitamio.widget.MediaController +
Show the controller on screen. +
showInstallerDialog(String, String, String) - +Method in class io.vov.vitamio.VitamioInstaller +
A simple helper dialog to guide the user install a compatible Vitamio + package, you may build a more beautiful one by yourself. +
showNotCompatibleDialog(String, String, String) - +Method in class io.vov.vitamio.VitamioInstaller +
A simple helper dialog telling user Vitamio is not compatible with the + device, you may build a more beautiful one by yourself. +
start() - +Method in class io.vov.vitamio.MediaPlayer +
Starts or resumes playback. +
start() - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
start() - +Method in class io.vov.vitamio.widget.VideoView +
  +
stop() - +Method in class io.vov.vitamio.MediaPlayer +
The same as MediaPlayer.pause() +
stopPlayback() - +Method in class io.vov.vitamio.widget.VideoView +
  +
SUB_TYPES - +Static variable in class io.vov.vitamio.MediaPlayer +
The external subtitle types which Vitamio supports. +
SUBTITLE_EXTERNAL - +Static variable in class io.vov.vitamio.MediaPlayer +
The subtitle displayed is an external file +
SUBTITLE_INTERNAL - +Static variable in class io.vov.vitamio.MediaPlayer +
The subtitle displayed is embeded in the movie +
suspend() - +Method in class io.vov.vitamio.widget.VideoView +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-13.html b/doc/index-files/index-13.html new file mode 100644 index 0000000..932d5d9 --- /dev/null +++ b/doc/index-files/index-13.html @@ -0,0 +1,148 @@ + + + + + + +T-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+T

+
+
time - +Static variable in class io.vov.vitamio.VR.id +
  +
time_current - +Static variable in class io.vov.vitamio.VR.id +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-14.html b/doc/index-files/index-14.html new file mode 100644 index 0000000..c73bf27 --- /dev/null +++ b/doc/index-files/index-14.html @@ -0,0 +1,234 @@ + + + + + + +V-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+V

+
+
VIDEO_LAYOUT_ORIGIN - +Static variable in class io.vov.vitamio.widget.VideoView +
  +
VIDEO_LAYOUT_SCALE - +Static variable in class io.vov.vitamio.widget.VideoView +
  +
VIDEO_LAYOUT_STRETCH - +Static variable in class io.vov.vitamio.widget.VideoView +
  +
VIDEO_LAYOUT_ZOOM - +Static variable in class io.vov.vitamio.widget.VideoView +
  +
VIDEOQUALITY_HIGH - +Static variable in class io.vov.vitamio.MediaPlayer +
  +
VIDEOQUALITY_LOW - +Static variable in class io.vov.vitamio.MediaPlayer +
  +
VIDEOQUALITY_MEDIUM - +Static variable in class io.vov.vitamio.MediaPlayer +
  +
VideoView - Class in io.vov.vitamio.widget
Displays a video file.
VideoView(Context) - +Constructor for class io.vov.vitamio.widget.VideoView +
  +
VideoView(Context, AttributeSet) - +Constructor for class io.vov.vitamio.widget.VideoView +
  +
VideoView(Context, AttributeSet, int) - +Constructor for class io.vov.vitamio.widget.VideoView +
  +
VideoView_error_button - +Static variable in class io.vov.vitamio.VR.string +
  +
VideoView_error_text_invalid_progressive_playback - +Static variable in class io.vov.vitamio.VR.string +
  +
VideoView_error_text_unknown - +Static variable in class io.vov.vitamio.VR.string +
  +
VideoView_error_title - +Static variable in class io.vov.vitamio.VR.string +
  +
VITAMIO_PACKAGE_ARMV6 - +Static variable in class io.vov.vitamio.VitamioInstaller +
  +
VITAMIO_PACKAGE_ARMV6_VFP - +Static variable in class io.vov.vitamio.VitamioInstaller +
  +
VITAMIO_PACKAGE_ARMV7_NEON - +Static variable in class io.vov.vitamio.VitamioInstaller +
  +
VITAMIO_PACKAGE_ARMV7_VFPV3 - +Static variable in class io.vov.vitamio.VitamioInstaller +
  +
VITAMIO_VERSION_CODE - +Static variable in class io.vov.vitamio.VitamioInstaller +
  +
VITAMIO_VERSION_NAME - +Static variable in class io.vov.vitamio.VitamioInstaller +
  +
VitamioInstaller - Class in io.vov.vitamio
It's recommended to use this class to check if Vitamio Plugin is installed in + the device before using any other classes and functions.
VitamioInstaller(Context) - +Constructor for class io.vov.vitamio.VitamioInstaller +
  +
VitamioInstaller.VitamioNotCompatibleException - Class in io.vov.vitamio
This exception will be thrown when Vitamio not compatible with the + device.
VitamioInstaller.VitamioNotCompatibleException() - +Constructor for class io.vov.vitamio.VitamioInstaller.VitamioNotCompatibleException +
  +
VitamioInstaller.VitamioNotCompatibleException(String) - +Constructor for class io.vov.vitamio.VitamioInstaller.VitamioNotCompatibleException +
  +
VitamioInstaller.VitamioNotFoundException - Class in io.vov.vitamio
This exception will be thrown when Vitamio not found in the device.
VitamioInstaller.VitamioNotFoundException() - +Constructor for class io.vov.vitamio.VitamioInstaller.VitamioNotFoundException +
  +
VitamioInstaller.VitamioNotFoundException(String) - +Constructor for class io.vov.vitamio.VitamioInstaller.VitamioNotFoundException +
  +
VR - Class in io.vov.vitamio
A resource holder within Vitamio Plugin
VR() - +Constructor for class io.vov.vitamio.VR +
  +
VR.drawable - Class in io.vov.vitamio
 
VR.drawable() - +Constructor for class io.vov.vitamio.VR.drawable +
  +
VR.id - Class in io.vov.vitamio
 
VR.id() - +Constructor for class io.vov.vitamio.VR.id +
  +
VR.layout - Class in io.vov.vitamio
 
VR.layout() - +Constructor for class io.vov.vitamio.VR.layout +
  +
VR.string - Class in io.vov.vitamio
 
VR.string() - +Constructor for class io.vov.vitamio.VR.string +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-2.html b/doc/index-files/index-2.html new file mode 100644 index 0000000..0f92edb --- /dev/null +++ b/doc/index-files/index-2.html @@ -0,0 +1,166 @@ + + + + + + +C-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+C

+
+
canPause() - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
canPause() - +Method in class io.vov.vitamio.widget.VideoView +
  +
canSeekBackward() - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
canSeekBackward() - +Method in class io.vov.vitamio.widget.VideoView +
  +
canSeekForward() - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
canSeekForward() - +Method in class io.vov.vitamio.widget.VideoView +
  +
checkVitamioInstallation(Context) - +Static method in class io.vov.vitamio.VitamioInstaller +
Check if a Vitamio package is installed +
clearSources() - +Method in class io.vov.vitamio.VitamioInstaller +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-3.html b/doc/index-files/index-3.html new file mode 100644 index 0000000..f54c366 --- /dev/null +++ b/doc/index-files/index-3.html @@ -0,0 +1,145 @@ + + + + + + +D-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+D

+
+
dispatchKeyEvent(KeyEvent) - +Method in class io.vov.vitamio.widget.MediaController +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-4.html b/doc/index-files/index-4.html new file mode 100644 index 0000000..7cea6db --- /dev/null +++ b/doc/index-files/index-4.html @@ -0,0 +1,148 @@ + + + + + + +F-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+F

+
+
file_name - +Static variable in class io.vov.vitamio.VR.id +
  +
fillDefaultSources() - +Method in class io.vov.vitamio.VitamioInstaller +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-5.html b/doc/index-files/index-5.html new file mode 100644 index 0000000..28b9b68 --- /dev/null +++ b/doc/index-files/index-5.html @@ -0,0 +1,244 @@ + + + + + + +G-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+G

+
+
getAudioTrack() - +Method in class io.vov.vitamio.MediaPlayer +
Get the audio track number in playback +
getAudioTrack() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getAudioTrackMap(String) - +Method in class io.vov.vitamio.MediaPlayer +
Get the audio tracks embeded in the movie (e.g. +
getAudioTrackMap(String) - +Method in class io.vov.vitamio.widget.VideoView +
  +
getBufferPercentage() - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
getBufferPercentage() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getBufferProgress() - +Method in class io.vov.vitamio.MediaPlayer +
  +
getCompatiblePackage() - +Static method in class io.vov.vitamio.VitamioInstaller +
  +
getCurrentPosition() - +Method in class io.vov.vitamio.MediaPlayer +
Gets the current playback position. +
getCurrentPosition() - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
getCurrentPosition() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getDrawable(int) - +Static method in class io.vov.vitamio.VR +
  +
getDuration() - +Method in class io.vov.vitamio.MediaPlayer +
Gets the duration of the file. +
getDuration() - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
getDuration() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getLibraryPath(Context) - +Static method in class io.vov.vitamio.VitamioInstaller +
Get the absolute path to Vitamio's library +
getMetaEncoding() - +Method in class io.vov.vitamio.MediaPlayer +
Get the encoding if haven't set with MediaPlayer.setMetaEncoding(String) +
getMetaEncoding() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getSources() - +Method in class io.vov.vitamio.VitamioInstaller +
  +
getString(int) - +Static method in class io.vov.vitamio.VR +
  +
getSubLocation() - +Method in class io.vov.vitamio.MediaPlayer +
  +
getSubLocation() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getSubPath() - +Method in class io.vov.vitamio.MediaPlayer +
You can get the file-path of the external subtitle in use. +
getSubPath() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getSubTrack() - +Method in class io.vov.vitamio.MediaPlayer +
Get the subtitle track number in playback +
getSubTrack() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getSubTrackMap(String) - +Method in class io.vov.vitamio.MediaPlayer +
Get the subtitles embeded in the movie (e.g. +
getSubTrackMap(String) - +Method in class io.vov.vitamio.widget.VideoView +
  +
getVideoAspectRatio() - +Method in class io.vov.vitamio.MediaPlayer +
Returns the aspect ratio of the video. +
getVideoAspectRatio() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getVideoHeight() - +Method in class io.vov.vitamio.MediaPlayer +
Returns the height of the video. +
getVideoHeight() - +Method in class io.vov.vitamio.widget.VideoView +
  +
getVideoWidth() - +Method in class io.vov.vitamio.MediaPlayer +
Returns the width of the video. +
getVideoWidth() - +Method in class io.vov.vitamio.widget.VideoView +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-6.html b/doc/index-files/index-6.html new file mode 100644 index 0000000..c3efae7 --- /dev/null +++ b/doc/index-files/index-6.html @@ -0,0 +1,145 @@ + + + + + + +H-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+H

+
+
hide() - +Method in class io.vov.vitamio.widget.MediaController +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-7.html b/doc/index-files/index-7.html new file mode 100644 index 0000000..bdcda6b --- /dev/null +++ b/doc/index-files/index-7.html @@ -0,0 +1,169 @@ + + + + + + +I-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+I

+
+
inflate(int, ViewGroup) - +Static method in class io.vov.vitamio.VR +
  +
init(Context) - +Static method in class io.vov.vitamio.VR +
  +
io.vov.vitamio - package io.vov.vitamio
 
io.vov.vitamio.widget - package io.vov.vitamio.widget
 
isBuffering() - +Method in class io.vov.vitamio.MediaPlayer +
Checks whether the buffer is filled +
isBuffering() - +Method in class io.vov.vitamio.widget.VideoView +
  +
isPlaying() - +Method in class io.vov.vitamio.MediaPlayer +
Checks whether the MediaPlayer is playing. +
isPlaying() - +Method in interface io.vov.vitamio.widget.MediaController.MediaPlayerControl +
  +
isPlaying() - +Method in class io.vov.vitamio.widget.VideoView +
  +
isShowing() - +Method in class io.vov.vitamio.widget.MediaController +
  +
isValid() - +Method in class io.vov.vitamio.widget.VideoView +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-8.html b/doc/index-files/index-8.html new file mode 100644 index 0000000..b64c468 --- /dev/null +++ b/doc/index-files/index-8.html @@ -0,0 +1,178 @@ + + + + + + +M-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+M

+
+
media_controller - +Static variable in class io.vov.vitamio.VR.layout +
  +
MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK - +Static variable in class io.vov.vitamio.MediaPlayer +
  +
MEDIA_ERROR_UNKNOWN - +Static variable in class io.vov.vitamio.MediaPlayer +
  +
MEDIA_INFO_BUFFERING_END - +Static variable in class io.vov.vitamio.MediaPlayer +
MediaPlayer is resuming playback after filling buffers. +
MEDIA_INFO_BUFFERING_START - +Static variable in class io.vov.vitamio.MediaPlayer +
MediaPlayer is temporarily pausing playback internally in order to buffer + more data. +
MEDIA_INFO_NOT_SEEKABLE - +Static variable in class io.vov.vitamio.MediaPlayer +
The media cannot be seeked (e.g live stream) +
MEDIA_INFO_VIDEO_TRACK_LAGGING - +Static variable in class io.vov.vitamio.MediaPlayer +
The video is too complex for the decoder: it can't decode frames fast + enough. +
MediaController - Class in io.vov.vitamio.widget
A view containing controls for a MediaPlayer.
MediaController(Context, AttributeSet) - +Constructor for class io.vov.vitamio.widget.MediaController +
  +
MediaController(Context) - +Constructor for class io.vov.vitamio.widget.MediaController +
  +
MediaController.MediaPlayerControl - Interface in io.vov.vitamio.widget
 
mediacontroller_progress - +Static variable in class io.vov.vitamio.VR.id +
  +
MediaPlayer - Class in io.vov.vitamio
MediaPlayer class can be used to control playback of audio/video files and + streams.
MediaPlayer(Context) - +Constructor for class io.vov.vitamio.MediaPlayer +
Default constructor. +
MediaPlayer.OnBufferingUpdateListener - Interface in io.vov.vitamio
 
MediaPlayer.OnCompletionListener - Interface in io.vov.vitamio
 
MediaPlayer.OnErrorListener - Interface in io.vov.vitamio
 
MediaPlayer.OnInfoListener - Interface in io.vov.vitamio
 
MediaPlayer.OnPreparedListener - Interface in io.vov.vitamio
 
MediaPlayer.OnSeekCompleteListener - Interface in io.vov.vitamio
 
MediaPlayer.OnSubtitleUpdateListener - Interface in io.vov.vitamio
 
MediaPlayer.OnVideoSizeChangedListener - Interface in io.vov.vitamio
 
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index-files/index-9.html b/doc/index-files/index-9.html new file mode 100644 index 0000000..9d3126a --- /dev/null +++ b/doc/index-files/index-9.html @@ -0,0 +1,187 @@ + + + + + + +O-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+

+O

+
+
onBufferingUpdate(MediaPlayer, int) - +Method in interface io.vov.vitamio.MediaPlayer.OnBufferingUpdateListener +
Called to update status in buffering a media stream. +
onCompletion(MediaPlayer) - +Method in interface io.vov.vitamio.MediaPlayer.OnCompletionListener +
Called when the end of a media source is reached during playback. +
onError(MediaPlayer, int, int) - +Method in interface io.vov.vitamio.MediaPlayer.OnErrorListener +
Called to indicate an error. +
onFinishInflate() - +Method in class io.vov.vitamio.widget.MediaController +
  +
onInfo(MediaPlayer, int, int) - +Method in interface io.vov.vitamio.MediaPlayer.OnInfoListener +
Called to indicate an info or a warning. +
onKeyDown(int, KeyEvent) - +Method in class io.vov.vitamio.widget.VideoView +
  +
onPrepared(MediaPlayer) - +Method in interface io.vov.vitamio.MediaPlayer.OnPreparedListener +
Called when the media file is ready for playback. +
onSeekComplete(MediaPlayer) - +Method in interface io.vov.vitamio.MediaPlayer.OnSeekCompleteListener +
Called to indicate the completion of a seek operation. +
onSubtitleUpdate(String) - +Method in interface io.vov.vitamio.MediaPlayer.OnSubtitleUpdateListener +
Called to indicate that a text subtitle need to display +
onSubtitleUpdate(byte[], int, int) - +Method in interface io.vov.vitamio.MediaPlayer.OnSubtitleUpdateListener +
Called to indicate that an image subtitle need to display +
onTouchEvent(MotionEvent) - +Method in class io.vov.vitamio.widget.MediaController +
  +
onTouchEvent(MotionEvent) - +Method in class io.vov.vitamio.widget.VideoView +
  +
onTrackballEvent(MotionEvent) - +Method in class io.vov.vitamio.widget.MediaController +
  +
onTrackballEvent(MotionEvent) - +Method in class io.vov.vitamio.widget.VideoView +
  +
onVideoSizeChanged(MediaPlayer, int, int) - +Method in interface io.vov.vitamio.MediaPlayer.OnVideoSizeChangedListener +
Called to indicate the video size +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +B C D F G H I M O P R S T V
+ + + diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..d603362 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,39 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/doc/io/vov/vitamio/MediaPlayer.OnBufferingUpdateListener.html b/doc/io/vov/vitamio/MediaPlayer.OnBufferingUpdateListener.html new file mode 100644 index 0000000..a340144 --- /dev/null +++ b/doc/io/vov/vitamio/MediaPlayer.OnBufferingUpdateListener.html @@ -0,0 +1,214 @@ + + + + + + +MediaPlayer.OnBufferingUpdateListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Interface MediaPlayer.OnBufferingUpdateListener

+
+
Enclosing class:
MediaPlayer
+
+
+
+
public static interface MediaPlayer.OnBufferingUpdateListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidonBufferingUpdate(MediaPlayer mp, + int percent) + +
+          Called to update status in buffering a media stream.
+  +

+ + + + + + + + +
+Method Detail
+ +

+onBufferingUpdate

+
+void onBufferingUpdate(MediaPlayer mp,
+                       int percent)
+
+
Called to update status in buffering a media stream. +

+

+
Parameters:
mp - the MediaPlayer the update pertains to
percent - the percentage (0-100) of the buffer that has been + filled thus far
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/MediaPlayer.OnCompletionListener.html b/doc/io/vov/vitamio/MediaPlayer.OnCompletionListener.html new file mode 100644 index 0000000..1176c70 --- /dev/null +++ b/doc/io/vov/vitamio/MediaPlayer.OnCompletionListener.html @@ -0,0 +1,211 @@ + + + + + + +MediaPlayer.OnCompletionListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Interface MediaPlayer.OnCompletionListener

+
+
Enclosing class:
MediaPlayer
+
+
+
+
public static interface MediaPlayer.OnCompletionListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidonCompletion(MediaPlayer mp) + +
+          Called when the end of a media source is reached during playback.
+  +

+ + + + + + + + +
+Method Detail
+ +

+onCompletion

+
+void onCompletion(MediaPlayer mp)
+
+
Called when the end of a media source is reached during playback. +

+

+
Parameters:
mp - the MediaPlayer that reached the end of the file
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/MediaPlayer.OnErrorListener.html b/doc/io/vov/vitamio/MediaPlayer.OnErrorListener.html new file mode 100644 index 0000000..ccd6e84 --- /dev/null +++ b/doc/io/vov/vitamio/MediaPlayer.OnErrorListener.html @@ -0,0 +1,223 @@ + + + + + + +MediaPlayer.OnErrorListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Interface MediaPlayer.OnErrorListener

+
+
Enclosing class:
MediaPlayer
+
+
+
+
public static interface MediaPlayer.OnErrorListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleanonError(MediaPlayer mp, + int what, + int extra) + +
+          Called to indicate an error.
+  +

+ + + + + + + + +
+Method Detail
+ +

+onError

+
+boolean onError(MediaPlayer mp,
+                int what,
+                int extra)
+
+
Called to indicate an error. +

+

+
Parameters:
mp - the MediaPlayer the error pertains to
what - the type of error that has occurred: +
extra - an extra code, specific to the error. Typically + implementation dependant. +
Returns:
True if the method handled the error, false if it didn't. + Returning false, or not having an OnErrorListener at all, will cause + the OnCompletionListener to be called.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/MediaPlayer.OnInfoListener.html b/doc/io/vov/vitamio/MediaPlayer.OnInfoListener.html new file mode 100644 index 0000000..e042435 --- /dev/null +++ b/doc/io/vov/vitamio/MediaPlayer.OnInfoListener.html @@ -0,0 +1,225 @@ + + + + + + +MediaPlayer.OnInfoListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Interface MediaPlayer.OnInfoListener

+
+
Enclosing class:
MediaPlayer
+
+
+
+
public static interface MediaPlayer.OnInfoListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleanonInfo(MediaPlayer mp, + int what, + int extra) + +
+          Called to indicate an info or a warning.
+  +

+ + + + + + + + +
+Method Detail
+ +

+onInfo

+
+boolean onInfo(MediaPlayer mp,
+               int what,
+               int extra)
+
+
Called to indicate an info or a warning. +

+

+
Parameters:
mp - the MediaPlayer the info pertains to.
what - the type of info or warning. +
extra - an extra code, specific to the info. Typically + implementation dependant. +
Returns:
True if the method handled the info, false if it didn't. + Returning false, or not having an OnErrorListener at all, will cause + the info to be discarded.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/MediaPlayer.OnPreparedListener.html b/doc/io/vov/vitamio/MediaPlayer.OnPreparedListener.html new file mode 100644 index 0000000..7620f92 --- /dev/null +++ b/doc/io/vov/vitamio/MediaPlayer.OnPreparedListener.html @@ -0,0 +1,211 @@ + + + + + + +MediaPlayer.OnPreparedListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Interface MediaPlayer.OnPreparedListener

+
+
Enclosing class:
MediaPlayer
+
+
+
+
public static interface MediaPlayer.OnPreparedListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidonPrepared(MediaPlayer mp) + +
+          Called when the media file is ready for playback.
+  +

+ + + + + + + + +
+Method Detail
+ +

+onPrepared

+
+void onPrepared(MediaPlayer mp)
+
+
Called when the media file is ready for playback. +

+

+
Parameters:
mp - the MediaPlayer that is ready for playback
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/MediaPlayer.OnSeekCompleteListener.html b/doc/io/vov/vitamio/MediaPlayer.OnSeekCompleteListener.html new file mode 100644 index 0000000..910bb75 --- /dev/null +++ b/doc/io/vov/vitamio/MediaPlayer.OnSeekCompleteListener.html @@ -0,0 +1,211 @@ + + + + + + +MediaPlayer.OnSeekCompleteListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Interface MediaPlayer.OnSeekCompleteListener

+
+
Enclosing class:
MediaPlayer
+
+
+
+
public static interface MediaPlayer.OnSeekCompleteListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidonSeekComplete(MediaPlayer mp) + +
+          Called to indicate the completion of a seek operation.
+  +

+ + + + + + + + +
+Method Detail
+ +

+onSeekComplete

+
+void onSeekComplete(MediaPlayer mp)
+
+
Called to indicate the completion of a seek operation. +

+

+
Parameters:
mp - the MediaPlayer that issued the seek operation
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/MediaPlayer.OnSubtitleUpdateListener.html b/doc/io/vov/vitamio/MediaPlayer.OnSubtitleUpdateListener.html new file mode 100644 index 0000000..17b3bdc --- /dev/null +++ b/doc/io/vov/vitamio/MediaPlayer.OnSubtitleUpdateListener.html @@ -0,0 +1,236 @@ + + + + + + +MediaPlayer.OnSubtitleUpdateListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Interface MediaPlayer.OnSubtitleUpdateListener

+
+
Enclosing class:
MediaPlayer
+
+
+
+
public static interface MediaPlayer.OnSubtitleUpdateListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidonSubtitleUpdate(byte[] pixels, + int width, + int height) + +
+          Called to indicate that an image subtitle need to display
+ voidonSubtitleUpdate(java.lang.String text) + +
+          Called to indicate that a text subtitle need to display
+  +

+ + + + + + + + +
+Method Detail
+ +

+onSubtitleUpdate

+
+void onSubtitleUpdate(java.lang.String text)
+
+
Called to indicate that a text subtitle need to display +

+

+
Parameters:
text - the subtitle to display
+
+
+
+ +

+onSubtitleUpdate

+
+void onSubtitleUpdate(byte[] pixels,
+                      int width,
+                      int height)
+
+
Called to indicate that an image subtitle need to display +

+

+
Parameters:
pixels - the pixels of the subtitle image
width - the width of the subtitle image
height - the height of the subtitle image
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/MediaPlayer.OnVideoSizeChangedListener.html b/doc/io/vov/vitamio/MediaPlayer.OnVideoSizeChangedListener.html new file mode 100644 index 0000000..7a09d4f --- /dev/null +++ b/doc/io/vov/vitamio/MediaPlayer.OnVideoSizeChangedListener.html @@ -0,0 +1,215 @@ + + + + + + +MediaPlayer.OnVideoSizeChangedListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Interface MediaPlayer.OnVideoSizeChangedListener

+
+
Enclosing class:
MediaPlayer
+
+
+
+
public static interface MediaPlayer.OnVideoSizeChangedListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidonVideoSizeChanged(MediaPlayer mp, + int width, + int height) + +
+          Called to indicate the video size
+  +

+ + + + + + + + +
+Method Detail
+ +

+onVideoSizeChanged

+
+void onVideoSizeChanged(MediaPlayer mp,
+                        int width,
+                        int height)
+
+
Called to indicate the video size +

+

+
Parameters:
mp - the MediaPlayer associated with this callback
width - the width of the video
height - the height of the video
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/MediaPlayer.html b/doc/io/vov/vitamio/MediaPlayer.html new file mode 100644 index 0000000..9c54fc4 --- /dev/null +++ b/doc/io/vov/vitamio/MediaPlayer.html @@ -0,0 +1,1703 @@ + + + + + + +MediaPlayer + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Class MediaPlayer

+
+java.lang.Object
+  extended by io.vov.vitamio.MediaPlayer
+
+
+
+
public class MediaPlayer
extends java.lang.Object
+ + +

+MediaPlayer class can be used to control playback of audio/video files and + streams. An example on how to use the methods in this class can be found in + VideoView. This class will function the same as + android.media.MediaPlayer in most cases. Please see Audio and + Video for additional help using MediaPlayer. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+static interfaceMediaPlayer.OnBufferingUpdateListener + +
+           
+static interfaceMediaPlayer.OnCompletionListener + +
+           
+static interfaceMediaPlayer.OnErrorListener + +
+           
+static interfaceMediaPlayer.OnInfoListener + +
+           
+static interfaceMediaPlayer.OnPreparedListener + +
+           
+static interfaceMediaPlayer.OnSeekCompleteListener + +
+           
+static interfaceMediaPlayer.OnSubtitleUpdateListener + +
+           
+static interfaceMediaPlayer.OnVideoSizeChangedListener + +
+           
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intMEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK + +
+           
+static intMEDIA_ERROR_UNKNOWN + +
+           
+static intMEDIA_INFO_BUFFERING_END + +
+          MediaPlayer is resuming playback after filling buffers.
+static intMEDIA_INFO_BUFFERING_START + +
+          MediaPlayer is temporarily pausing playback internally in order to buffer + more data.
+static intMEDIA_INFO_NOT_SEEKABLE + +
+          The media cannot be seeked (e.g live stream)
+static intMEDIA_INFO_VIDEO_TRACK_LAGGING + +
+          The video is too complex for the decoder: it can't decode frames fast + enough.
+static java.lang.String[]SUB_TYPES + +
+          The external subtitle types which Vitamio supports.
+static intSUBTITLE_EXTERNAL + +
+          The subtitle displayed is an external file
+static intSUBTITLE_INTERNAL + +
+          The subtitle displayed is embeded in the movie
+static intVIDEOQUALITY_HIGH + +
+           
+static intVIDEOQUALITY_LOW + +
+           
+static intVIDEOQUALITY_MEDIUM + +
+           
+  + + + + + + + + + + +
+Constructor Summary
MediaPlayer(Context ctx) + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetAudioTrack() + +
+          Get the audio track number in playback
+ java.util.HashMap<java.lang.String,java.lang.Integer>getAudioTrackMap(java.lang.String encoding) + +
+          Get the audio tracks embeded in the movie (e.g.
+ intgetBufferProgress() + +
+           
+ longgetCurrentPosition() + +
+          Gets the current playback position.
+ longgetDuration() + +
+          Gets the duration of the file.
+ java.lang.StringgetMetaEncoding() + +
+          Get the encoding if haven't set with setMetaEncoding(String)
+ intgetSubLocation() + +
+           
+ java.lang.StringgetSubPath() + +
+          You can get the file-path of the external subtitle in use.
+ intgetSubTrack() + +
+          Get the subtitle track number in playback
+ java.util.HashMap<java.lang.String,java.lang.Integer>getSubTrackMap(java.lang.String encoding) + +
+          Get the subtitles embeded in the movie (e.g.
+ floatgetVideoAspectRatio() + +
+          Returns the aspect ratio of the video.
+ intgetVideoHeight() + +
+          Returns the height of the video.
+ intgetVideoWidth() + +
+          Returns the width of the video.
+ booleanisBuffering() + +
+          Checks whether the buffer is filled
+ booleanisPlaying() + +
+          Checks whether the MediaPlayer is playing.
+ voidpause() + +
+          Pauses playback.
+ voidprepare() + +
+          Prepares the player for playback, synchronously.
+ voidprepareAsync() + +
+          Prepares the player for playback, asynchronously.
+ voidrelease() + +
+          Releases resources associated with this MediaPlayer object.
+ voidreleaseDisplay() + +
+          Calling this result in only the audio track being played.
+ voidreset() + +
+          Resets the MediaPlayer to its uninitialized state.
+ voidseekTo(long msec) + +
+          Seeks to specified time position.
+ voidsetAudioTrack(int audioIndex) + +
+          Set the audio track to play, must be in the result of + getAudioTrackMap(String)
+ voidsetBufferSize(int bufSize) + +
+          The buffer to fill before playback, default is 1024KB
+ voidsetDataSource(Context context, + Uri uri) + +
+          Sets the data source as a content Uri.
+ voidsetDataSource(java.io.FileDescriptor fd) + +
+          Sets the data source (FileDescriptor) to use.
+ voidsetDataSource(java.lang.String path) + +
+          Sets the data source (file-path or http/rtsp/mms URL) to use.
+ voidsetDisplay(SurfaceHolder sh) + +
+          Sets the SurfaceHolder to use for displaying the video portion of the + media.
+ voidsetMetaEncoding(java.lang.String encoding) + +
+          Set the encoding MediaPlayer will use to determine the metadata
+ voidsetOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener listener) + +
+          Register a callback to be invoked when the status of a network stream's + buffer has changed.
+ voidsetOnCompletionListener(MediaPlayer.OnCompletionListener listener) + +
+          Register a callback to be invoked when the end of a media source has been + reached during playback.
+ voidsetOnErrorListener(MediaPlayer.OnErrorListener listener) + +
+          Register a callback to be invoked when an error has happened during an + asynchronous operation.
+ voidsetOnInfoListener(MediaPlayer.OnInfoListener listener) + +
+           
+ voidsetOnPreparedListener(MediaPlayer.OnPreparedListener listener) + +
+          Register a callback to be invoked when the media source is ready for + playback.
+ voidsetOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener listener) + +
+          Register a callback to be invoked when a seek operation has been + completed.
+ voidsetOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener listener) + +
+          Register a callback to be invoked when a subtitle need to display.
+ voidsetOnVideoSizeChangedListener(MediaPlayer.OnVideoSizeChangedListener listener) + +
+          Register a callback to be invoked when the video size is known or + updated.
+ voidsetScreenOnWhilePlaying(boolean screenOn) + +
+          Control whether we should use the attached SurfaceHolder to keep the + screen on while video playback is occurring.
+ voidsetSubEncoding(java.lang.String encoding) + +
+          Set the encoding to display text subtitle.
+ voidsetSubPath(java.lang.String subPath) + +
+          Set the file-path of an external subtitle.
+ voidsetSubShown(boolean shown) + +
+          Tell the MediaPlayer whether to show subtitle
+ voidsetSubTrack(int trackId) + +
+          Set the subtitle track to display, must be in the result of + getSubTrackMap(String)
+ voidsetVideoQuality(int quality) + +
+          Set the quality when play video, if the video is too lag, you may try + VIDEOQUALITY_LOW, default is VIDEOQUALITY_LOW.
+ voidsetVolume(float leftVolume, + float rightVolume) + +
+           
+ voidsetWakeMode(Context context, + int mode) + +
+          Set the low-level power management behavior for this MediaPlayer.
+ voidstart() + +
+          Starts or resumes playback.
+ voidstop() + +
+          The same as pause()
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MEDIA_ERROR_UNKNOWN

+
+public static final int MEDIA_ERROR_UNKNOWN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK

+
+public static final int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MEDIA_INFO_VIDEO_TRACK_LAGGING

+
+public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING
+
+
The video is too complex for the decoder: it can't decode frames fast + enough. Possibly only the audio plays fine at this stage. +

+

+
See Also:
MediaPlayer.OnInfoListener, +Constant Field Values
+
+
+ +

+MEDIA_INFO_BUFFERING_START

+
+public static final int MEDIA_INFO_BUFFERING_START
+
+
MediaPlayer is temporarily pausing playback internally in order to buffer + more data. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MEDIA_INFO_BUFFERING_END

+
+public static final int MEDIA_INFO_BUFFERING_END
+
+
MediaPlayer is resuming playback after filling buffers. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MEDIA_INFO_NOT_SEEKABLE

+
+public static final int MEDIA_INFO_NOT_SEEKABLE
+
+
The media cannot be seeked (e.g live stream) +

+

+
See Also:
MediaPlayer.OnInfoListener, +Constant Field Values
+
+
+ +

+VIDEOQUALITY_LOW

+
+public static final int VIDEOQUALITY_LOW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VIDEOQUALITY_MEDIUM

+
+public static final int VIDEOQUALITY_MEDIUM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VIDEOQUALITY_HIGH

+
+public static final int VIDEOQUALITY_HIGH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUBTITLE_INTERNAL

+
+public static final int SUBTITLE_INTERNAL
+
+
The subtitle displayed is embeded in the movie +

+

+
See Also:
Constant Field Values
+
+
+ +

+SUBTITLE_EXTERNAL

+
+public static final int SUBTITLE_EXTERNAL
+
+
The subtitle displayed is an external file +

+

+
See Also:
Constant Field Values
+
+
+ +

+SUB_TYPES

+
+public static final java.lang.String[] SUB_TYPES
+
+
The external subtitle types which Vitamio supports. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+MediaPlayer

+
+public MediaPlayer(Context ctx)
+            throws VitamioInstaller.VitamioNotCompatibleException,
+                   VitamioInstaller.VitamioNotFoundException
+
+
Default constructor. The same as Android's, except that it will throw + VitamioInstaller.VitamioNotCompatibleException if + Vitamio not compatible with user's device, + VitamioInstaller.VitamioNotFoundException if + Vitamio not installed in the device. +

+ When done with the MediaPlayer, you should call release(), to + free the resources. If not released, too many MediaPlayer instances may + result in an exception. +

+

+

+ +
Throws: +
VitamioInstaller.VitamioNotCompatibleException +
VitamioInstaller.VitamioNotFoundException
+
+ + + + + + + + +
+Method Detail
+ +

+setDisplay

+
+public void setDisplay(SurfaceHolder sh)
+
+
Sets the SurfaceHolder to use for displaying the video portion of the + media. This call is optional. Not calling it when playing back a video + will result in only the audio track being played. +

+

+
Parameters:
sh - the SurfaceHolder to use for video display
+
+
+
+ +

+setDataSource

+
+public void setDataSource(Context context,
+                          Uri uri)
+                   throws java.io.IOException,
+                          java.lang.IllegalArgumentException,
+                          java.lang.SecurityException,
+                          java.lang.IllegalStateException
+
+
Sets the data source as a content Uri. +

+

+
Parameters:
context - the Context to use when resolving the Uri
uri - the Content URI of the data you want to play +
Throws: +
java.lang.IllegalStateException - if it is called in an invalid state +
java.io.IOException +
java.lang.IllegalArgumentException +
java.lang.SecurityException
+
+
+
+ +

+setDataSource

+
+public void setDataSource(java.lang.String path)
+                   throws java.io.IOException,
+                          java.lang.IllegalArgumentException,
+                          java.lang.IllegalStateException
+
+
Sets the data source (file-path or http/rtsp/mms URL) to use. +

+

+
Parameters:
path - the path of the file, or the http/rtsp/mms URL of the stream + you want to play +
Throws: +
java.lang.IllegalStateException - if it is called in an invalid state +
java.io.IOException +
java.lang.IllegalArgumentException
+
+
+
+ +

+setDataSource

+
+public void setDataSource(java.io.FileDescriptor fd)
+                   throws java.io.IOException,
+                          java.lang.IllegalArgumentException,
+                          java.lang.IllegalStateException
+
+
Sets the data source (FileDescriptor) to use. It is the caller's + responsibility to close the file descriptor. It is safe to do so as soon + as this call returns. +

+

+
Parameters:
fd - the FileDescriptor for the file you want to play +
Throws: +
java.lang.IllegalStateException - if it is called in an invalid state +
java.io.IOException +
java.lang.IllegalArgumentException
+
+
+
+ +

+prepare

+
+public void prepare()
+             throws java.io.IOException,
+                    java.lang.IllegalStateException
+
+
Prepares the player for playback, synchronously. + + After setting the datasource and the display surface, you need to either + call prepare() or prepareAsync(). For files, it is OK to call prepare(), + which blocks until MediaPlayer is ready for playback. +

+

+ +
Throws: +
java.lang.IllegalStateException - if it is called in an invalid state +
java.io.IOException
+
+
+
+ +

+prepareAsync

+
+public void prepareAsync()
+                  throws java.lang.IllegalStateException
+
+
Prepares the player for playback, asynchronously. + + After setting the datasource and the display surface, you need to either + call prepare() or prepareAsync(). For streams, you should call + prepareAsync(), which returns immediately, rather than blocking until + enough data has been buffered. +

+

+ +
Throws: +
java.lang.IllegalStateException - if it is called in an invalid state
+
+
+
+ +

+start

+
+public void start()
+           throws java.lang.IllegalStateException
+
+
Starts or resumes playback. If playback had previously been paused, + playback will continue from where it was paused. If playback had been + stopped, or never started before, playback will start at the beginning. +

+

+ +
Throws: +
java.lang.IllegalStateException - if it is called in an invalid state
+
+
+
+ +

+stop

+
+public void stop()
+          throws java.lang.IllegalStateException
+
+
The same as pause() +

+

+ +
Throws: +
java.lang.IllegalStateException - if the internal player engine has not been + initialized.
+
+
+
+ +

+pause

+
+public void pause()
+           throws java.lang.IllegalStateException
+
+
Pauses playback. Call start() to resume. +

+

+ +
Throws: +
java.lang.IllegalStateException - if the internal player engine has not been + initialized.
+
+
+
+ +

+setWakeMode

+
+public void setWakeMode(Context context,
+                        int mode)
+
+
Set the low-level power management behavior for this MediaPlayer. This + can be used when the MediaPlayer is not playing through a SurfaceHolder + set with setDisplay(SurfaceHolder) and thus can use the + high-level setScreenOnWhilePlaying(boolean) feature. + + This function has the MediaPlayer access the low-level power manager + service to control the device's power usage while playing is occurring. + The parameter is a combination of android.os.PowerManager wake + flags. Use of this method requires + android.Manifest.permission#WAKE_LOCK permission. By default, no + attempt is made to keep the device awake during playback. +

+

+
Parameters:
context - the Context to use
mode - the power/wake mode to set
See Also:
android.os.PowerManager
+
+
+
+ +

+setScreenOnWhilePlaying

+
+public void setScreenOnWhilePlaying(boolean screenOn)
+
+
Control whether we should use the attached SurfaceHolder to keep the + screen on while video playback is occurring. This is the preferred method + over setWakeMode(Context, int) where possible, since it doesn't require that + the application have permission for low-level wake lock access. +

+

+
Parameters:
screenOn - Supply true to keep the screen on, false to allow it to + turn off.
+
+
+
+ +

+getVideoWidth

+
+public int getVideoWidth()
+
+
Returns the width of the video. +

+

+ +
Returns:
the width of the video, or 0 if there is no video, or the width + has not been determined yet. The OnVideoSizeChangedListener can be + registered via + setOnVideoSizeChangedListener(OnVideoSizeChangedListener) to + provide a notification when the width is available.
+
+
+
+ +

+getVideoHeight

+
+public int getVideoHeight()
+
+
Returns the height of the video. +

+

+ +
Returns:
the height of the video, or 0 if there is no video, or the height + has not been determined yet. The OnVideoSizeChangedListener can be + registered via + setOnVideoSizeChangedListener(OnVideoSizeChangedListener) to + provide a notification when the height is available.
+
+
+
+ +

+isPlaying

+
+public boolean isPlaying()
+
+
Checks whether the MediaPlayer is playing. +

+

+ +
Returns:
true if currently playing, false otherwise
+
+
+
+ +

+seekTo

+
+public void seekTo(long msec)
+            throws java.lang.IllegalStateException
+
+
Seeks to specified time position. +

+

+
Parameters:
msec - the offset in milliseconds from the start to seek to +
Throws: +
java.lang.IllegalStateException - if the internal player engine has not been + initialized
+
+
+
+ +

+getCurrentPosition

+
+public long getCurrentPosition()
+
+
Gets the current playback position. +

+

+ +
Returns:
the current position in milliseconds
+
+
+
+ +

+getDuration

+
+public long getDuration()
+
+
Gets the duration of the file. +

+

+ +
Returns:
the duration in milliseconds
+
+
+
+ +

+release

+
+public void release()
+
+
Releases resources associated with this MediaPlayer object. It is + considered good practice to call this method when you're done using the + MediaPlayer. +

+

+
+
+
+
+ +

+reset

+
+public void reset()
+
+
Resets the MediaPlayer to its uninitialized state. After calling this + method, you will have to initialize it again by setting the data source + and calling prepare(). +

+

+
+
+
+
+ +

+setVolume

+
+public void setVolume(float leftVolume,
+                      float rightVolume)
+
+
+
+
+
+
+ +

+setOnPreparedListener

+
+public void setOnPreparedListener(MediaPlayer.OnPreparedListener listener)
+
+
Register a callback to be invoked when the media source is ready for + playback. +

+

+
Parameters:
listener - the callback that will be run
+
+
+
+ +

+setOnCompletionListener

+
+public void setOnCompletionListener(MediaPlayer.OnCompletionListener listener)
+
+
Register a callback to be invoked when the end of a media source has been + reached during playback. +

+

+
Parameters:
listener - the callback that will be run
+
+
+
+ +

+setOnBufferingUpdateListener

+
+public void setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener listener)
+
+
Register a callback to be invoked when the status of a network stream's + buffer has changed. +

+

+
Parameters:
listener - the callback that will be run.
+
+
+
+ +

+setOnSeekCompleteListener

+
+public void setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener listener)
+
+
Register a callback to be invoked when a seek operation has been + completed. +

+

+
Parameters:
listener - the callback that will be run
+
+
+
+ +

+setOnVideoSizeChangedListener

+
+public void setOnVideoSizeChangedListener(MediaPlayer.OnVideoSizeChangedListener listener)
+
+
Register a callback to be invoked when the video size is known or + updated. +

+

+
Parameters:
listener - the callback that will be run
+
+
+
+ +

+setOnErrorListener

+
+public void setOnErrorListener(MediaPlayer.OnErrorListener listener)
+
+
Register a callback to be invoked when an error has happened during an + asynchronous operation. +

+

+
Parameters:
listener - the callback that will be run
+
+
+
+ +

+setOnInfoListener

+
+public void setOnInfoListener(MediaPlayer.OnInfoListener listener)
+
+
+
+
+
+
+ +

+setOnSubtitleUpdateListener

+
+public void setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener listener)
+
+
Register a callback to be invoked when a subtitle need to display. +

+

+
Parameters:
listener - the callback that will be run
+
+
+
+ +

+releaseDisplay

+
+public void releaseDisplay()
+
+
Calling this result in only the audio track being played. +

+

+
+
+
+
+ +

+getVideoAspectRatio

+
+public float getVideoAspectRatio()
+
+
Returns the aspect ratio of the video. +

+

+ +
Returns:
the aspect ratio of the video, or 0 if there is no video, or the + width and height is not available. io.vov.vitamio.VideoView#setVideoLayout(int, float)
+
+
+
+ +

+setVideoQuality

+
+public void setVideoQuality(int quality)
+
+
Set the quality when play video, if the video is too lag, you may try + VIDEOQUALITY_LOW, default is VIDEOQUALITY_LOW. +

+

+
Parameters:
quality -
+
+
+
+ +

+setBufferSize

+
+public void setBufferSize(int bufSize)
+
+
The buffer to fill before playback, default is 1024KB +

+

+
Parameters:
bufSize - buffer size in Byte
+
+
+
+ +

+isBuffering

+
+public boolean isBuffering()
+
+
Checks whether the buffer is filled +

+

+ +
Returns:
false if buffer is filled
+
+
+
+ +

+getBufferProgress

+
+public int getBufferProgress()
+
+
+ +
Returns:
the percent
See Also:
MediaPlayer.OnBufferingUpdateListener
+
+
+
+ +

+setMetaEncoding

+
+public void setMetaEncoding(java.lang.String encoding)
+
+
Set the encoding MediaPlayer will use to determine the metadata +

+

+
Parameters:
encoding - e.g. "UTF-8"
+
+
+
+ +

+getMetaEncoding

+
+public java.lang.String getMetaEncoding()
+
+
Get the encoding if haven't set with setMetaEncoding(String) +

+

+ +
Returns:
the encoding
+
+
+
+ +

+getAudioTrackMap

+
+public java.util.HashMap<java.lang.String,java.lang.Integer> getAudioTrackMap(java.lang.String encoding)
+
+
Get the audio tracks embeded in the movie (e.g. "English", 3). +

+

+
Parameters:
encoding - the encoding to format String, will detect it if null +
Returns:
Map of track name and track number
+
+
+
+ +

+getAudioTrack

+
+public int getAudioTrack()
+
+
Get the audio track number in playback +

+

+ +
Returns:
track number
+
+
+
+ +

+setAudioTrack

+
+public void setAudioTrack(int audioIndex)
+
+
Set the audio track to play, must be in the result of + getAudioTrackMap(String) +

+

+
Parameters:
audioIndex - the track number
+
+
+
+ +

+setSubShown

+
+public void setSubShown(boolean shown)
+
+
Tell the MediaPlayer whether to show subtitle +

+

+
Parameters:
shown - true if wanna show
+
+
+
+ +

+setSubEncoding

+
+public void setSubEncoding(java.lang.String encoding)
+
+
Set the encoding to display text subtitle. +

+

+
Parameters:
encoding - MediaPlayer will detet it if null
+
+
+
+ +

+getSubLocation

+
+public int getSubLocation()
+
+
+ +
Returns:
+
+
+
+ +

+setSubPath

+
+public void setSubPath(java.lang.String subPath)
+
+
Set the file-path of an external subtitle. +

+

+
Parameters:
subPath - must be a local file
+
+
+
+ +

+getSubPath

+
+public java.lang.String getSubPath()
+
+
You can get the file-path of the external subtitle in use. +

+

+ +
Returns:
null if no external subtitle
+
+
+
+ +

+setSubTrack

+
+public void setSubTrack(int trackId)
+
+
Set the subtitle track to display, must be in the result of + getSubTrackMap(String) +

+

+
Parameters:
audioIndex - the track number
+
+
+
+ +

+getSubTrack

+
+public int getSubTrack()
+
+
Get the subtitle track number in playback +

+

+ +
Returns:
track number
+
+
+
+ +

+getSubTrackMap

+
+public java.util.HashMap<java.lang.String,java.lang.Integer> getSubTrackMap(java.lang.String encoding)
+
+
Get the subtitles embeded in the movie (e.g. "English", 3). +

+

+
Parameters:
encoding - the encoding to format String, will detect it if null +
Returns:
Map of track name and track number
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/VR.drawable.html b/doc/io/vov/vitamio/VR.drawable.html new file mode 100644 index 0000000..094de49 --- /dev/null +++ b/doc/io/vov/vitamio/VR.drawable.html @@ -0,0 +1,281 @@ + + + + + + +VR.drawable + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Class VR.drawable

+
+java.lang.Object
+  extended by io.vov.vitamio.VR.drawable
+
+
+
Enclosing class:
VR
+
+
+
+
public static final class VR.drawable
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intpause_button + +
+           
+static intplay_button + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VR.drawable() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+pause_button

+
+public static int pause_button
+
+
+
+
+
+ +

+play_button

+
+public static int play_button
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+VR.drawable

+
+public VR.drawable()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/VR.html b/doc/io/vov/vitamio/VR.html new file mode 100644 index 0000000..160beae --- /dev/null +++ b/doc/io/vov/vitamio/VR.html @@ -0,0 +1,363 @@ + + + + + + +VR + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Class VR

+
+java.lang.Object
+  extended by io.vov.vitamio.VR
+
+
+
+
public class VR
extends java.lang.Object
+ + +

+A resource holder within Vitamio Plugin +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+static classVR.drawable + +
+           
+static classVR.id + +
+           
+static classVR.layout + +
+           
+static classVR.string + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VR() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static DrawablegetDrawable(int id) + +
+           
+static java.lang.StringgetString(int id) + +
+           
+static Viewinflate(int id, + ViewGroup root) + +
+           
+static voidinit(Context ctx) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VR

+
+public VR()
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+public static void init(Context ctx)
+                 throws VitamioInstaller.VitamioNotCompatibleException,
+                        VitamioInstaller.VitamioNotFoundException,
+                        NameNotFoundException
+
+
+ +
Throws: +
VitamioInstaller.VitamioNotCompatibleException +
VitamioInstaller.VitamioNotFoundException +
NameNotFoundException
+
+
+
+ +

+inflate

+
+public static View inflate(int id,
+                           ViewGroup root)
+
+
+
+
+
+
+ +

+getDrawable

+
+public static Drawable getDrawable(int id)
+
+
+
+
+
+
+ +

+getString

+
+public static java.lang.String getString(int id)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/VR.id.html b/doc/io/vov/vitamio/VR.id.html new file mode 100644 index 0000000..12927f2 --- /dev/null +++ b/doc/io/vov/vitamio/VR.id.html @@ -0,0 +1,335 @@ + + + + + + +VR.id + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Class VR.id

+
+java.lang.Object
+  extended by io.vov.vitamio.VR.id
+
+
+
Enclosing class:
VR
+
+
+
+
public static final class VR.id
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intfile_name + +
+           
+static intmediacontroller_progress + +
+           
+static intpause + +
+           
+static inttime + +
+           
+static inttime_current + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VR.id() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+mediacontroller_progress

+
+public static int mediacontroller_progress
+
+
+
+
+
+ +

+pause

+
+public static int pause
+
+
+
+
+
+ +

+time

+
+public static int time
+
+
+
+
+
+ +

+time_current

+
+public static int time_current
+
+
+
+
+
+ +

+file_name

+
+public static int file_name
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+VR.id

+
+public VR.id()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/VR.layout.html b/doc/io/vov/vitamio/VR.layout.html new file mode 100644 index 0000000..d3e6a3b --- /dev/null +++ b/doc/io/vov/vitamio/VR.layout.html @@ -0,0 +1,263 @@ + + + + + + +VR.layout + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Class VR.layout

+
+java.lang.Object
+  extended by io.vov.vitamio.VR.layout
+
+
+
Enclosing class:
VR
+
+
+
+
public static final class VR.layout
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static intmedia_controller + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VR.layout() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+media_controller

+
+public static int media_controller
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+VR.layout

+
+public VR.layout()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/VR.string.html b/doc/io/vov/vitamio/VR.string.html new file mode 100644 index 0000000..db59ac1 --- /dev/null +++ b/doc/io/vov/vitamio/VR.string.html @@ -0,0 +1,317 @@ + + + + + + +VR.string + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Class VR.string

+
+java.lang.Object
+  extended by io.vov.vitamio.VR.string
+
+
+
Enclosing class:
VR
+
+
+
+
public static final class VR.string
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intVideoView_error_button + +
+           
+static intVideoView_error_text_invalid_progressive_playback + +
+           
+static intVideoView_error_text_unknown + +
+           
+static intVideoView_error_title + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VR.string() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+VideoView_error_button

+
+public static int VideoView_error_button
+
+
+
+
+
+ +

+VideoView_error_text_invalid_progressive_playback

+
+public static int VideoView_error_text_invalid_progressive_playback
+
+
+
+
+
+ +

+VideoView_error_text_unknown

+
+public static int VideoView_error_text_unknown
+
+
+
+
+
+ +

+VideoView_error_title

+
+public static int VideoView_error_title
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+VR.string

+
+public VR.string()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/VitamioInstaller.VitamioNotCompatibleException.html b/doc/io/vov/vitamio/VitamioInstaller.VitamioNotCompatibleException.html new file mode 100644 index 0000000..933c5f1 --- /dev/null +++ b/doc/io/vov/vitamio/VitamioInstaller.VitamioNotCompatibleException.html @@ -0,0 +1,247 @@ + + + + + + +VitamioInstaller.VitamioNotCompatibleException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Class VitamioInstaller.VitamioNotCompatibleException

+
+java.lang.Object
+  extended by AndroidException
+      extended by io.vov.vitamio.VitamioInstaller.VitamioNotCompatibleException
+
+
+
Enclosing class:
VitamioInstaller
+
+
+
+
public static class VitamioInstaller.VitamioNotCompatibleException
extends AndroidException
+ + +

+This exception will be thrown when Vitamio not compatible with the + device. I feel sorry for this. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
VitamioInstaller.VitamioNotCompatibleException() + +
+           
VitamioInstaller.VitamioNotCompatibleException(java.lang.String name) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VitamioInstaller.VitamioNotCompatibleException

+
+public VitamioInstaller.VitamioNotCompatibleException()
+
+
+
+ +

+VitamioInstaller.VitamioNotCompatibleException

+
+public VitamioInstaller.VitamioNotCompatibleException(java.lang.String name)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/VitamioInstaller.VitamioNotFoundException.html b/doc/io/vov/vitamio/VitamioInstaller.VitamioNotFoundException.html new file mode 100644 index 0000000..1df06be --- /dev/null +++ b/doc/io/vov/vitamio/VitamioInstaller.VitamioNotFoundException.html @@ -0,0 +1,249 @@ + + + + + + +VitamioInstaller.VitamioNotFoundException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Class VitamioInstaller.VitamioNotFoundException

+
+java.lang.Object
+  extended by AndroidException
+      extended by io.vov.vitamio.VitamioInstaller.VitamioNotFoundException
+
+
+
Enclosing class:
VitamioInstaller
+
+
+
+
public static class VitamioInstaller.VitamioNotFoundException
extends AndroidException
+ + +

+This exception will be thrown when Vitamio not found in the device. May + popup a dialog to guide the user install a compatible Vitamio. +

+ +

+

+
See Also:
io.vov.vitamio.VitamioInstaller#showInstallerDialog(String, String)
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
VitamioInstaller.VitamioNotFoundException() + +
+           
VitamioInstaller.VitamioNotFoundException(java.lang.String name) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VitamioInstaller.VitamioNotFoundException

+
+public VitamioInstaller.VitamioNotFoundException()
+
+
+
+ +

+VitamioInstaller.VitamioNotFoundException

+
+public VitamioInstaller.VitamioNotFoundException(java.lang.String name)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/VitamioInstaller.html b/doc/io/vov/vitamio/VitamioInstaller.html new file mode 100644 index 0000000..f28bdd6 --- /dev/null +++ b/doc/io/vov/vitamio/VitamioInstaller.html @@ -0,0 +1,651 @@ + + + + + + +VitamioInstaller + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio +
+Class VitamioInstaller

+
+java.lang.Object
+  extended by io.vov.vitamio.VitamioInstaller
+
+
+
+
public class VitamioInstaller
extends java.lang.Object
+ + +

+It's recommended to use this class to check if Vitamio Plugin is installed in + the device before using any other classes and functions. +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static classVitamioInstaller.VitamioNotCompatibleException + +
+          This exception will be thrown when Vitamio not compatible with the + device.
+static classVitamioInstaller.VitamioNotFoundException + +
+          This exception will be thrown when Vitamio not found in the device.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringVITAMIO_PACKAGE_ARMV6 + +
+           
+static java.lang.StringVITAMIO_PACKAGE_ARMV6_VFP + +
+           
+static java.lang.StringVITAMIO_PACKAGE_ARMV7_NEON + +
+           
+static java.lang.StringVITAMIO_PACKAGE_ARMV7_VFPV3 + +
+           
+static intVITAMIO_VERSION_CODE + +
+           
+static java.lang.StringVITAMIO_VERSION_NAME + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VitamioInstaller(Context ctx) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ DialogbuildInstallerDialog(java.lang.String title, + java.lang.String msg, + java.lang.String button) + +
+          A simple helper dialog to guide the user install a compatible Vitamio + package, you may build a more beautiful one by yourself.
+ DialogbuildNotCompatibleDialog(java.lang.String title, + java.lang.String msg, + java.lang.String button) + +
+          A simple helper dialog telling user Vitamio is not compatible with the + device, you may build a more beautiful one by yourself.
+static java.lang.StringcheckVitamioInstallation(Context ctx) + +
+          Check if a Vitamio package is installed
+ VitamioInstallerclearSources() + +
+           
+ VitamioInstallerfillDefaultSources() + +
+           
+static java.lang.StringgetCompatiblePackage() + +
+           
+static java.lang.StringgetLibraryPath(Context ctx) + +
+          Get the absolute path to Vitamio's library
+ java.util.Map<java.lang.String,java.lang.String>getSources() + +
+           
+ VitamioInstallerputSource(java.lang.String title, + java.lang.String url) + +
+           
+ voidshowInstallerDialog(java.lang.String title, + java.lang.String msg, + java.lang.String button) + +
+          A simple helper dialog to guide the user install a compatible Vitamio + package, you may build a more beautiful one by yourself.
+ voidshowNotCompatibleDialog(java.lang.String title, + java.lang.String msg, + java.lang.String button) + +
+          A simple helper dialog telling user Vitamio is not compatible with the + device, you may build a more beautiful one by yourself.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+VITAMIO_VERSION_CODE

+
+public static final int VITAMIO_VERSION_CODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VITAMIO_VERSION_NAME

+
+public static final java.lang.String VITAMIO_VERSION_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VITAMIO_PACKAGE_ARMV6

+
+public static final java.lang.String VITAMIO_PACKAGE_ARMV6
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VITAMIO_PACKAGE_ARMV6_VFP

+
+public static final java.lang.String VITAMIO_PACKAGE_ARMV6_VFP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VITAMIO_PACKAGE_ARMV7_VFPV3

+
+public static final java.lang.String VITAMIO_PACKAGE_ARMV7_VFPV3
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VITAMIO_PACKAGE_ARMV7_NEON

+
+public static final java.lang.String VITAMIO_PACKAGE_ARMV7_NEON
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+VitamioInstaller

+
+public VitamioInstaller(Context ctx)
+
+
+ + + + + + + + +
+Method Detail
+ +

+fillDefaultSources

+
+public VitamioInstaller fillDefaultSources()
+
+
+
+
+
+
+ +

+putSource

+
+public VitamioInstaller putSource(java.lang.String title,
+                                  java.lang.String url)
+
+
+
+
+
+
+ +

+getSources

+
+public java.util.Map<java.lang.String,java.lang.String> getSources()
+
+
+
+
+
+
+ +

+clearSources

+
+public VitamioInstaller clearSources()
+
+
+
+
+
+
+ +

+showInstallerDialog

+
+public void showInstallerDialog(java.lang.String title,
+                                java.lang.String msg,
+                                java.lang.String button)
+
+
A simple helper dialog to guide the user install a compatible Vitamio + package, you may build a more beautiful one by yourself. +

+

+
Parameters:
title - dialog's title
button - text on the dialog's button
+
+
+
+ +

+buildInstallerDialog

+
+public Dialog buildInstallerDialog(java.lang.String title,
+                                   java.lang.String msg,
+                                   java.lang.String button)
+
+
A simple helper dialog to guide the user install a compatible Vitamio + package, you may build a more beautiful one by yourself. +

+

+
Parameters:
title - dialog's title
button - text on the dialog's button
+
+
+
+ +

+showNotCompatibleDialog

+
+public void showNotCompatibleDialog(java.lang.String title,
+                                    java.lang.String msg,
+                                    java.lang.String button)
+
+
A simple helper dialog telling user Vitamio is not compatible with the + device, you may build a more beautiful one by yourself. +

+

+
Parameters:
title - dialog's title
msg - message displayed on dialog
button - text on the dialog's button
+
+
+
+ +

+buildNotCompatibleDialog

+
+public Dialog buildNotCompatibleDialog(java.lang.String title,
+                                       java.lang.String msg,
+                                       java.lang.String button)
+
+
A simple helper dialog telling user Vitamio is not compatible with the + device, you may build a more beautiful one by yourself. +

+

+
Parameters:
title - dialog's title
msg - message displayed on dialog
button - text on the dialog's button
+
+
+
+ +

+getCompatiblePackage

+
+public static java.lang.String getCompatiblePackage()
+
+
+ +
Returns:
the best compatible Vitamio package name
+
+
+
+ +

+checkVitamioInstallation

+
+public static java.lang.String checkVitamioInstallation(Context ctx)
+                                                 throws VitamioInstaller.VitamioNotCompatibleException,
+                                                        VitamioInstaller.VitamioNotFoundException
+
+
Check if a Vitamio package is installed +

+

+
Parameters:
ctx - a Context +
Returns:
the Vitamio package name installed in this device, it may be the + most compatible package, check getCompatiblePackage() +
Throws: +
VitamioInstaller.VitamioNotCompatibleException +
VitamioInstaller.VitamioNotFoundException
+
+
+
+ +

+getLibraryPath

+
+public static java.lang.String getLibraryPath(Context ctx)
+                                       throws VitamioInstaller.VitamioNotCompatibleException,
+                                              VitamioInstaller.VitamioNotFoundException
+
+
Get the absolute path to Vitamio's library +

+

+
Parameters:
ctx - a Context +
Returns:
the absolute path to the libffmpeg.so +
Throws: +
VitamioInstaller.VitamioNotCompatibleException +
VitamioInstaller.VitamioNotFoundException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnBufferingUpdateListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnBufferingUpdateListener.html new file mode 100644 index 0000000..50c3b01 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/MediaPlayer.OnBufferingUpdateListener.html @@ -0,0 +1,210 @@ + + + + + + +Uses of Interface io.vov.vitamio.MediaPlayer.OnBufferingUpdateListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
io.vov.vitamio.MediaPlayer.OnBufferingUpdateListener

+
+ + + + + + + + + + + + + +
+Packages that use MediaPlayer.OnBufferingUpdateListener
io.vov.vitamio  
io.vov.vitamio.widget  
+  +

+ + + + + +
+Uses of MediaPlayer.OnBufferingUpdateListener in io.vov.vitamio
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnBufferingUpdateListener
+ voidMediaPlayer.setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener listener) + +
+          Register a callback to be invoked when the status of a network stream's + buffer has changed.
+  +

+ + + + + +
+Uses of MediaPlayer.OnBufferingUpdateListener in io.vov.vitamio.widget
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnBufferingUpdateListener
+ voidVideoView.setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener l) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnCompletionListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnCompletionListener.html new file mode 100644 index 0000000..c81dab8 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/MediaPlayer.OnCompletionListener.html @@ -0,0 +1,210 @@ + + + + + + +Uses of Interface io.vov.vitamio.MediaPlayer.OnCompletionListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
io.vov.vitamio.MediaPlayer.OnCompletionListener

+
+ + + + + + + + + + + + + +
+Packages that use MediaPlayer.OnCompletionListener
io.vov.vitamio  
io.vov.vitamio.widget  
+  +

+ + + + + +
+Uses of MediaPlayer.OnCompletionListener in io.vov.vitamio
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnCompletionListener
+ voidMediaPlayer.setOnCompletionListener(MediaPlayer.OnCompletionListener listener) + +
+          Register a callback to be invoked when the end of a media source has been + reached during playback.
+  +

+ + + + + +
+Uses of MediaPlayer.OnCompletionListener in io.vov.vitamio.widget
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnCompletionListener
+ voidVideoView.setOnCompletionListener(MediaPlayer.OnCompletionListener l) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnErrorListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnErrorListener.html new file mode 100644 index 0000000..9a6a8da --- /dev/null +++ b/doc/io/vov/vitamio/class-use/MediaPlayer.OnErrorListener.html @@ -0,0 +1,210 @@ + + + + + + +Uses of Interface io.vov.vitamio.MediaPlayer.OnErrorListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
io.vov.vitamio.MediaPlayer.OnErrorListener

+
+ + + + + + + + + + + + + +
+Packages that use MediaPlayer.OnErrorListener
io.vov.vitamio  
io.vov.vitamio.widget  
+  +

+ + + + + +
+Uses of MediaPlayer.OnErrorListener in io.vov.vitamio
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnErrorListener
+ voidMediaPlayer.setOnErrorListener(MediaPlayer.OnErrorListener listener) + +
+          Register a callback to be invoked when an error has happened during an + asynchronous operation.
+  +

+ + + + + +
+Uses of MediaPlayer.OnErrorListener in io.vov.vitamio.widget
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnErrorListener
+ voidVideoView.setOnErrorListener(MediaPlayer.OnErrorListener l) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnInfoListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnInfoListener.html new file mode 100644 index 0000000..9b1a3ce --- /dev/null +++ b/doc/io/vov/vitamio/class-use/MediaPlayer.OnInfoListener.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface io.vov.vitamio.MediaPlayer.OnInfoListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
io.vov.vitamio.MediaPlayer.OnInfoListener

+
+ + + + + + + + + + + + + +
+Packages that use MediaPlayer.OnInfoListener
io.vov.vitamio  
io.vov.vitamio.widget  
+  +

+ + + + + +
+Uses of MediaPlayer.OnInfoListener in io.vov.vitamio
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnInfoListener
+ voidMediaPlayer.setOnInfoListener(MediaPlayer.OnInfoListener listener) + +
+           
+  +

+ + + + + +
+Uses of MediaPlayer.OnInfoListener in io.vov.vitamio.widget
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnInfoListener
+ voidVideoView.setOnInfoListener(MediaPlayer.OnInfoListener l) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnPreparedListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnPreparedListener.html new file mode 100644 index 0000000..c82463a --- /dev/null +++ b/doc/io/vov/vitamio/class-use/MediaPlayer.OnPreparedListener.html @@ -0,0 +1,210 @@ + + + + + + +Uses of Interface io.vov.vitamio.MediaPlayer.OnPreparedListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
io.vov.vitamio.MediaPlayer.OnPreparedListener

+
+ + + + + + + + + + + + + +
+Packages that use MediaPlayer.OnPreparedListener
io.vov.vitamio  
io.vov.vitamio.widget  
+  +

+ + + + + +
+Uses of MediaPlayer.OnPreparedListener in io.vov.vitamio
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnPreparedListener
+ voidMediaPlayer.setOnPreparedListener(MediaPlayer.OnPreparedListener listener) + +
+          Register a callback to be invoked when the media source is ready for + playback.
+  +

+ + + + + +
+Uses of MediaPlayer.OnPreparedListener in io.vov.vitamio.widget
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnPreparedListener
+ voidVideoView.setOnPreparedListener(MediaPlayer.OnPreparedListener l) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnSeekCompleteListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnSeekCompleteListener.html new file mode 100644 index 0000000..a5948a3 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/MediaPlayer.OnSeekCompleteListener.html @@ -0,0 +1,210 @@ + + + + + + +Uses of Interface io.vov.vitamio.MediaPlayer.OnSeekCompleteListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
io.vov.vitamio.MediaPlayer.OnSeekCompleteListener

+
+ + + + + + + + + + + + + +
+Packages that use MediaPlayer.OnSeekCompleteListener
io.vov.vitamio  
io.vov.vitamio.widget  
+  +

+ + + + + +
+Uses of MediaPlayer.OnSeekCompleteListener in io.vov.vitamio
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnSeekCompleteListener
+ voidMediaPlayer.setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener listener) + +
+          Register a callback to be invoked when a seek operation has been + completed.
+  +

+ + + + + +
+Uses of MediaPlayer.OnSeekCompleteListener in io.vov.vitamio.widget
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnSeekCompleteListener
+ voidVideoView.setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener l) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnSubtitleUpdateListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnSubtitleUpdateListener.html new file mode 100644 index 0000000..b925bc3 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/MediaPlayer.OnSubtitleUpdateListener.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface io.vov.vitamio.MediaPlayer.OnSubtitleUpdateListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
io.vov.vitamio.MediaPlayer.OnSubtitleUpdateListener

+
+ + + + + + + + + + + + + +
+Packages that use MediaPlayer.OnSubtitleUpdateListener
io.vov.vitamio  
io.vov.vitamio.widget  
+  +

+ + + + + +
+Uses of MediaPlayer.OnSubtitleUpdateListener in io.vov.vitamio
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnSubtitleUpdateListener
+ voidMediaPlayer.setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener listener) + +
+          Register a callback to be invoked when a subtitle need to display.
+  +

+ + + + + +
+Uses of MediaPlayer.OnSubtitleUpdateListener in io.vov.vitamio.widget
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio.widget with parameters of type MediaPlayer.OnSubtitleUpdateListener
+ voidVideoView.setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener l) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.OnVideoSizeChangedListener.html b/doc/io/vov/vitamio/class-use/MediaPlayer.OnVideoSizeChangedListener.html new file mode 100644 index 0000000..2a26124 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/MediaPlayer.OnVideoSizeChangedListener.html @@ -0,0 +1,181 @@ + + + + + + +Uses of Interface io.vov.vitamio.MediaPlayer.OnVideoSizeChangedListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
io.vov.vitamio.MediaPlayer.OnVideoSizeChangedListener

+
+ + + + + + + + + +
+Packages that use MediaPlayer.OnVideoSizeChangedListener
io.vov.vitamio  
+  +

+ + + + + +
+Uses of MediaPlayer.OnVideoSizeChangedListener in io.vov.vitamio
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio with parameters of type MediaPlayer.OnVideoSizeChangedListener
+ voidMediaPlayer.setOnVideoSizeChangedListener(MediaPlayer.OnVideoSizeChangedListener listener) + +
+          Register a callback to be invoked when the video size is known or + updated.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/MediaPlayer.html b/doc/io/vov/vitamio/class-use/MediaPlayer.html new file mode 100644 index 0000000..e095ea1 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/MediaPlayer.html @@ -0,0 +1,235 @@ + + + + + + +Uses of Class io.vov.vitamio.MediaPlayer + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.MediaPlayer

+
+ + + + + + + + + +
+Packages that use MediaPlayer
io.vov.vitamio  
+  +

+ + + + + +
+Uses of MediaPlayer in io.vov.vitamio
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in io.vov.vitamio with parameters of type MediaPlayer
+ voidMediaPlayer.OnBufferingUpdateListener.onBufferingUpdate(MediaPlayer mp, + int percent) + +
+          Called to update status in buffering a media stream.
+ voidMediaPlayer.OnCompletionListener.onCompletion(MediaPlayer mp) + +
+          Called when the end of a media source is reached during playback.
+ booleanMediaPlayer.OnErrorListener.onError(MediaPlayer mp, + int what, + int extra) + +
+          Called to indicate an error.
+ booleanMediaPlayer.OnInfoListener.onInfo(MediaPlayer mp, + int what, + int extra) + +
+          Called to indicate an info or a warning.
+ voidMediaPlayer.OnPreparedListener.onPrepared(MediaPlayer mp) + +
+          Called when the media file is ready for playback.
+ voidMediaPlayer.OnSeekCompleteListener.onSeekComplete(MediaPlayer mp) + +
+          Called to indicate the completion of a seek operation.
+ voidMediaPlayer.OnVideoSizeChangedListener.onVideoSizeChanged(MediaPlayer mp, + int width, + int height) + +
+          Called to indicate the video size
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/VR.drawable.html b/doc/io/vov/vitamio/class-use/VR.drawable.html new file mode 100644 index 0000000..14e0cb3 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/VR.drawable.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class io.vov.vitamio.VR.drawable + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.VR.drawable

+
+No usage of io.vov.vitamio.VR.drawable +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/VR.html b/doc/io/vov/vitamio/class-use/VR.html new file mode 100644 index 0000000..6ebb24f --- /dev/null +++ b/doc/io/vov/vitamio/class-use/VR.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class io.vov.vitamio.VR + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.VR

+
+No usage of io.vov.vitamio.VR +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/VR.id.html b/doc/io/vov/vitamio/class-use/VR.id.html new file mode 100644 index 0000000..569a3f4 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/VR.id.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class io.vov.vitamio.VR.id + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.VR.id

+
+No usage of io.vov.vitamio.VR.id +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/VR.layout.html b/doc/io/vov/vitamio/class-use/VR.layout.html new file mode 100644 index 0000000..05f4388 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/VR.layout.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class io.vov.vitamio.VR.layout + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.VR.layout

+
+No usage of io.vov.vitamio.VR.layout +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/VR.string.html b/doc/io/vov/vitamio/class-use/VR.string.html new file mode 100644 index 0000000..e7b8db6 --- /dev/null +++ b/doc/io/vov/vitamio/class-use/VR.string.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class io.vov.vitamio.VR.string + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.VR.string

+
+No usage of io.vov.vitamio.VR.string +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotCompatibleException.html b/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotCompatibleException.html new file mode 100644 index 0000000..cec037d --- /dev/null +++ b/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotCompatibleException.html @@ -0,0 +1,210 @@ + + + + + + +Uses of Class io.vov.vitamio.VitamioInstaller.VitamioNotCompatibleException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.VitamioInstaller.VitamioNotCompatibleException

+
+ + + + + + + + + +
+Packages that use VitamioInstaller.VitamioNotCompatibleException
io.vov.vitamio  
+  +

+ + + + + +
+Uses of VitamioInstaller.VitamioNotCompatibleException in io.vov.vitamio
+  +

+ + + + + + + + + + + + + + + + + +
Methods in io.vov.vitamio that throw VitamioInstaller.VitamioNotCompatibleException
+static java.lang.StringVitamioInstaller.checkVitamioInstallation(Context ctx) + +
+          Check if a Vitamio package is installed
+static java.lang.StringVitamioInstaller.getLibraryPath(Context ctx) + +
+          Get the absolute path to Vitamio's library
+static voidVR.init(Context ctx) + +
+           
+  +

+ + + + + + + + +
Constructors in io.vov.vitamio that throw VitamioInstaller.VitamioNotCompatibleException
MediaPlayer(Context ctx) + +
+          Default constructor.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotFoundException.html b/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotFoundException.html new file mode 100644 index 0000000..c6c9f0d --- /dev/null +++ b/doc/io/vov/vitamio/class-use/VitamioInstaller.VitamioNotFoundException.html @@ -0,0 +1,210 @@ + + + + + + +Uses of Class io.vov.vitamio.VitamioInstaller.VitamioNotFoundException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.VitamioInstaller.VitamioNotFoundException

+
+ + + + + + + + + +
+Packages that use VitamioInstaller.VitamioNotFoundException
io.vov.vitamio  
+  +

+ + + + + +
+Uses of VitamioInstaller.VitamioNotFoundException in io.vov.vitamio
+  +

+ + + + + + + + + + + + + + + + + +
Methods in io.vov.vitamio that throw VitamioInstaller.VitamioNotFoundException
+static java.lang.StringVitamioInstaller.checkVitamioInstallation(Context ctx) + +
+          Check if a Vitamio package is installed
+static java.lang.StringVitamioInstaller.getLibraryPath(Context ctx) + +
+          Get the absolute path to Vitamio's library
+static voidVR.init(Context ctx) + +
+           
+  +

+ + + + + + + + +
Constructors in io.vov.vitamio that throw VitamioInstaller.VitamioNotFoundException
MediaPlayer(Context ctx) + +
+          Default constructor.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/class-use/VitamioInstaller.html b/doc/io/vov/vitamio/class-use/VitamioInstaller.html new file mode 100644 index 0000000..946655e --- /dev/null +++ b/doc/io/vov/vitamio/class-use/VitamioInstaller.html @@ -0,0 +1,197 @@ + + + + + + +Uses of Class io.vov.vitamio.VitamioInstaller + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.VitamioInstaller

+
+ + + + + + + + + +
+Packages that use VitamioInstaller
io.vov.vitamio  
+  +

+ + + + + +
+Uses of VitamioInstaller in io.vov.vitamio
+  +

+ + + + + + + + + + + + + + + + + +
Methods in io.vov.vitamio that return VitamioInstaller
+ VitamioInstallerVitamioInstaller.clearSources() + +
+           
+ VitamioInstallerVitamioInstaller.fillDefaultSources() + +
+           
+ VitamioInstallerVitamioInstaller.putSource(java.lang.String title, + java.lang.String url) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/package-frame.html b/doc/io/vov/vitamio/package-frame.html new file mode 100644 index 0000000..0226b12 --- /dev/null +++ b/doc/io/vov/vitamio/package-frame.html @@ -0,0 +1,73 @@ + + + + + + +io.vov.vitamio + + + + + + + + + + + +io.vov.vitamio + + + + +
+Interfaces  + +
+MediaPlayer.OnBufferingUpdateListener +
+MediaPlayer.OnCompletionListener +
+MediaPlayer.OnErrorListener +
+MediaPlayer.OnInfoListener +
+MediaPlayer.OnPreparedListener +
+MediaPlayer.OnSeekCompleteListener +
+MediaPlayer.OnSubtitleUpdateListener +
+MediaPlayer.OnVideoSizeChangedListener
+ + + + + + +
+Classes  + +
+MediaPlayer +
+VitamioInstaller +
+VitamioInstaller.VitamioNotCompatibleException +
+VitamioInstaller.VitamioNotFoundException +
+VR +
+VR.drawable +
+VR.id +
+VR.layout +
+VR.string
+ + + + diff --git a/doc/io/vov/vitamio/package-summary.html b/doc/io/vov/vitamio/package-summary.html new file mode 100644 index 0000000..c831e4f --- /dev/null +++ b/doc/io/vov/vitamio/package-summary.html @@ -0,0 +1,234 @@ + + + + + + +io.vov.vitamio + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package io.vov.vitamio +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
MediaPlayer.OnBufferingUpdateListener 
MediaPlayer.OnCompletionListener 
MediaPlayer.OnErrorListener 
MediaPlayer.OnInfoListener 
MediaPlayer.OnPreparedListener 
MediaPlayer.OnSeekCompleteListener 
MediaPlayer.OnSubtitleUpdateListener 
MediaPlayer.OnVideoSizeChangedListener 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
MediaPlayerMediaPlayer class can be used to control playback of audio/video files and + streams.
VitamioInstallerIt's recommended to use this class to check if Vitamio Plugin is installed in + the device before using any other classes and functions.
VitamioInstaller.VitamioNotCompatibleExceptionThis exception will be thrown when Vitamio not compatible with the + device.
VitamioInstaller.VitamioNotFoundExceptionThis exception will be thrown when Vitamio not found in the device.
VRA resource holder within Vitamio Plugin
VR.drawable 
VR.id 
VR.layout 
VR.string 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/package-tree.html b/doc/io/vov/vitamio/package-tree.html new file mode 100644 index 0000000..8fb6c47 --- /dev/null +++ b/doc/io/vov/vitamio/package-tree.html @@ -0,0 +1,162 @@ + + + + + + +io.vov.vitamio Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package io.vov.vitamio +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/package-use.html b/doc/io/vov/vitamio/package-use.html new file mode 100644 index 0000000..aef3759 --- /dev/null +++ b/doc/io/vov/vitamio/package-use.html @@ -0,0 +1,294 @@ + + + + + + +Uses of Package io.vov.vitamio + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
io.vov.vitamio

+
+ + + + + + + + + + + + + +
+Packages that use io.vov.vitamio
io.vov.vitamio  
io.vov.vitamio.widget  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in io.vov.vitamio used by io.vov.vitamio
MediaPlayer + +
+          MediaPlayer class can be used to control playback of audio/video files and + streams.
MediaPlayer.OnBufferingUpdateListener + +
+           
MediaPlayer.OnCompletionListener + +
+           
MediaPlayer.OnErrorListener + +
+           
MediaPlayer.OnInfoListener + +
+           
MediaPlayer.OnPreparedListener + +
+           
MediaPlayer.OnSeekCompleteListener + +
+           
MediaPlayer.OnSubtitleUpdateListener + +
+           
MediaPlayer.OnVideoSizeChangedListener + +
+           
VitamioInstaller + +
+          It's recommended to use this class to check if Vitamio Plugin is installed in + the device before using any other classes and functions.
VitamioInstaller.VitamioNotCompatibleException + +
+          This exception will be thrown when Vitamio not compatible with the + device.
VitamioInstaller.VitamioNotFoundException + +
+          This exception will be thrown when Vitamio not found in the device.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in io.vov.vitamio used by io.vov.vitamio.widget
MediaPlayer.OnBufferingUpdateListener + +
+           
MediaPlayer.OnCompletionListener + +
+           
MediaPlayer.OnErrorListener + +
+           
MediaPlayer.OnInfoListener + +
+           
MediaPlayer.OnPreparedListener + +
+           
MediaPlayer.OnSeekCompleteListener + +
+           
MediaPlayer.OnSubtitleUpdateListener + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/widget/MediaController.MediaPlayerControl.html b/doc/io/vov/vitamio/widget/MediaController.MediaPlayerControl.html new file mode 100644 index 0000000..ae62f85 --- /dev/null +++ b/doc/io/vov/vitamio/widget/MediaController.MediaPlayerControl.html @@ -0,0 +1,383 @@ + + + + + + +MediaController.MediaPlayerControl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio.widget +
+Interface MediaController.MediaPlayerControl

+
+
All Known Implementing Classes:
VideoView
+
+
+
Enclosing class:
MediaController
+
+
+
+
public static interface MediaController.MediaPlayerControl
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanPause() + +
+           
+ booleancanSeekBackward() + +
+           
+ booleancanSeekForward() + +
+           
+ intgetBufferPercentage() + +
+           
+ longgetCurrentPosition() + +
+           
+ longgetDuration() + +
+           
+ booleanisPlaying() + +
+           
+ voidpause() + +
+           
+ voidseekTo(long pos) + +
+           
+ voidstart() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+start

+
+void start()
+
+
+
+
+
+
+ +

+pause

+
+void pause()
+
+
+
+
+
+
+ +

+getDuration

+
+long getDuration()
+
+
+
+
+
+
+ +

+getCurrentPosition

+
+long getCurrentPosition()
+
+
+
+
+
+
+ +

+seekTo

+
+void seekTo(long pos)
+
+
+
+
+
+
+ +

+isPlaying

+
+boolean isPlaying()
+
+
+
+
+
+
+ +

+getBufferPercentage

+
+int getBufferPercentage()
+
+
+
+
+
+
+ +

+canPause

+
+boolean canPause()
+
+
+
+
+
+
+ +

+canSeekBackward

+
+boolean canSeekBackward()
+
+
+
+
+
+
+ +

+canSeekForward

+
+boolean canSeekForward()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/widget/MediaController.html b/doc/io/vov/vitamio/widget/MediaController.html new file mode 100644 index 0000000..f2ec2cf --- /dev/null +++ b/doc/io/vov/vitamio/widget/MediaController.html @@ -0,0 +1,538 @@ + + + + + + +MediaController + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio.widget +
+Class MediaController

+
+java.lang.Object
+  extended by FrameLayout
+      extended by io.vov.vitamio.widget.MediaController
+
+
+
+
public class MediaController
extends FrameLayout
+ + +

+A view containing controls for a MediaPlayer. Typically contains the buttons + like "Play/Pause" and a progress slider. It takes care of synchronizing the + controls with the state of the MediaPlayer. +

+ The way to use this class is to instantiate it programatically. The + MediaController will create a default set of controls and put them in a + window floating above your application. Specifically, the controls will float + above the view specified with setAnchorView(). The window will disappear if + left idle for three seconds and reappear when the user touches the anchor + view. +

+ Functions like show() and hide() have no effect when MediaController is + created in an xml layout. +

+ +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static interfaceMediaController.MediaPlayerControl + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
MediaController(Context context) + +
+           
MediaController(Context context, + AttributeSet attrs) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleandispatchKeyEvent(KeyEvent event) + +
+           
+ voidhide() + +
+           
+ booleanisShowing() + +
+           
+ voidonFinishInflate() + +
+           
+ booleanonTouchEvent(MotionEvent event) + +
+           
+ booleanonTrackballEvent(MotionEvent ev) + +
+           
+ voidsetAnchorView(View view) + +
+          Set the view that acts as the anchor for the control view.
+ voidsetEnabled(boolean enabled) + +
+           
+ voidsetFileName(java.lang.String name) + +
+           
+ voidsetInfoView(TextView v) + +
+           
+ voidsetMediaPlayer(MediaController.MediaPlayerControl player) + +
+           
+ voidshow() + +
+           
+ voidshow(int timeout) + +
+          Show the controller on screen.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MediaController

+
+public MediaController(Context context,
+                       AttributeSet attrs)
+
+
+
+ +

+MediaController

+
+public MediaController(Context context)
+
+
+ + + + + + + + +
+Method Detail
+ +

+onFinishInflate

+
+public void onFinishInflate()
+
+
+
+
+
+
+ +

+setAnchorView

+
+public void setAnchorView(View view)
+
+
Set the view that acts as the anchor for the control view. This can for + example be a VideoView, or your Activity's main view. +

+

+
Parameters:
view - The view to which to anchor the controller when it is + visible.
+
+
+
+ +

+setMediaPlayer

+
+public void setMediaPlayer(MediaController.MediaPlayerControl player)
+
+
+
+
+
+
+ +

+show

+
+public void show()
+
+
+
+
+
+
+ +

+setFileName

+
+public void setFileName(java.lang.String name)
+
+
+
+
+
+
+ +

+setInfoView

+
+public void setInfoView(TextView v)
+
+
+
+
+
+
+ +

+show

+
+public void show(int timeout)
+
+
Show the controller on screen. It will go away automatically after + 'timeout' milliseconds of inactivity. +

+

+
Parameters:
timeout - The timeout in milliseconds. Use 0 to show the controller + until hide() is called.
+
+
+
+ +

+isShowing

+
+public boolean isShowing()
+
+
+
+
+
+
+ +

+hide

+
+public void hide()
+
+
+
+
+
+
+ +

+onTouchEvent

+
+public boolean onTouchEvent(MotionEvent event)
+
+
+
+
+
+
+ +

+onTrackballEvent

+
+public boolean onTrackballEvent(MotionEvent ev)
+
+
+
+
+
+
+ +

+dispatchKeyEvent

+
+public boolean dispatchKeyEvent(KeyEvent event)
+
+
+
+
+
+
+ +

+setEnabled

+
+public void setEnabled(boolean enabled)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/widget/VideoView.html b/doc/io/vov/vitamio/widget/VideoView.html new file mode 100644 index 0000000..173bfd5 --- /dev/null +++ b/doc/io/vov/vitamio/widget/VideoView.html @@ -0,0 +1,1441 @@ + + + + + + +VideoView + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +io.vov.vitamio.widget +
+Class VideoView

+
+java.lang.Object
+  extended by SurfaceView
+      extended by io.vov.vitamio.widget.VideoView
+
+
+
All Implemented Interfaces:
MediaController.MediaPlayerControl
+
+
+
+
public class VideoView
extends SurfaceView
implements MediaController.MediaPlayerControl
+ + +

+Displays a video file. The VideoView class can load images from various + sources (such as resources or content providers), takes care of computing its + measurement from the video so that it can be used in any layout manager, and + provides various display options such as scaling and tinting. + + VideoView also provide many wrapper methods for + MediaPlayer, such as getVideoWidth(), + setSubShown(boolean) +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intVIDEO_LAYOUT_ORIGIN + +
+           
+static intVIDEO_LAYOUT_SCALE + +
+           
+static intVIDEO_LAYOUT_STRETCH + +
+           
+static intVIDEO_LAYOUT_ZOOM + +
+           
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
VideoView(Context context) + +
+           
VideoView(Context context, + AttributeSet attrs) + +
+           
VideoView(Context context, + AttributeSet attrs, + int defStyle) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanPause() + +
+           
+ booleancanSeekBackward() + +
+           
+ booleancanSeekForward() + +
+           
+ intgetAudioTrack() + +
+           
+ java.util.HashMap<java.lang.String,java.lang.Integer>getAudioTrackMap(java.lang.String encoding) + +
+           
+ intgetBufferPercentage() + +
+           
+ longgetCurrentPosition() + +
+           
+ longgetDuration() + +
+           
+ java.lang.StringgetMetaEncoding() + +
+           
+ intgetSubLocation() + +
+           
+ java.lang.StringgetSubPath() + +
+           
+ intgetSubTrack() + +
+           
+ java.util.HashMap<java.lang.String,java.lang.Integer>getSubTrackMap(java.lang.String encoding) + +
+           
+ floatgetVideoAspectRatio() + +
+           
+ intgetVideoHeight() + +
+           
+ intgetVideoWidth() + +
+           
+ booleanisBuffering() + +
+           
+ booleanisPlaying() + +
+           
+ booleanisValid() + +
+           
+ booleanonKeyDown(int keyCode, + KeyEvent event) + +
+           
+ booleanonTouchEvent(MotionEvent ev) + +
+           
+ booleanonTrackballEvent(MotionEvent ev) + +
+           
+ voidpause() + +
+           
+ voidresume() + +
+           
+ voidseekTo(long msec) + +
+           
+ voidsetAudioTrack(int audioIndex) + +
+           
+ voidsetBufferSize(int bufSize) + +
+           
+ voidsetMediaController(MediaController controller) + +
+           
+ voidsetMetaEncoding(java.lang.String encoding) + +
+           
+ voidsetOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener l) + +
+           
+ voidsetOnCompletionListener(MediaPlayer.OnCompletionListener l) + +
+           
+ voidsetOnErrorListener(MediaPlayer.OnErrorListener l) + +
+           
+ voidsetOnInfoListener(MediaPlayer.OnInfoListener l) + +
+           
+ voidsetOnPreparedListener(MediaPlayer.OnPreparedListener l) + +
+           
+ voidsetOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener l) + +
+           
+ voidsetOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener l) + +
+           
+ voidsetSubEncoding(java.lang.String encoding) + +
+           
+ voidsetSubPath(java.lang.String subPath) + +
+           
+ voidsetSubShown(boolean shown) + +
+           
+ voidsetSubTrack(int trackId) + +
+           
+ voidsetVideoLayout(int layout, + float aspectRatio) + +
+          Set the display options
+ voidsetVideoPath(java.lang.String path) + +
+           
+ voidsetVideoQuality(int quality) + +
+           
+ voidsetVideoURI(Uri uri) + +
+           
+ voidsetVolume(float leftVolume, + float rightVolume) + +
+           
+ voidstart() + +
+           
+ voidstopPlayback() + +
+           
+ voidsuspend() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+VIDEO_LAYOUT_ORIGIN

+
+public static final int VIDEO_LAYOUT_ORIGIN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VIDEO_LAYOUT_SCALE

+
+public static final int VIDEO_LAYOUT_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VIDEO_LAYOUT_STRETCH

+
+public static final int VIDEO_LAYOUT_STRETCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VIDEO_LAYOUT_ZOOM

+
+public static final int VIDEO_LAYOUT_ZOOM
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+VideoView

+
+public VideoView(Context context)
+
+
+
+ +

+VideoView

+
+public VideoView(Context context,
+                 AttributeSet attrs)
+
+
+
+ +

+VideoView

+
+public VideoView(Context context,
+                 AttributeSet attrs,
+                 int defStyle)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setVideoLayout

+
+public void setVideoLayout(int layout,
+                           float aspectRatio)
+
+
Set the display options +

+

+
+
+
+
Parameters:
layout -
aspectRatio - video aspect ratio, will audo detect if 0.
+
+
+
+ +

+isValid

+
+public boolean isValid()
+
+
+
+
+
+
+
+
+
+ +

+setVideoPath

+
+public void setVideoPath(java.lang.String path)
+
+
+
+
+
+
+
+
+
+ +

+setVideoURI

+
+public void setVideoURI(Uri uri)
+
+
+
+
+
+
+
+
+
+ +

+stopPlayback

+
+public void stopPlayback()
+
+
+
+
+
+
+
+
+
+ +

+setMediaController

+
+public void setMediaController(MediaController controller)
+
+
+
+
+
+
+
+
+
+ +

+setOnPreparedListener

+
+public void setOnPreparedListener(MediaPlayer.OnPreparedListener l)
+
+
+
+
+
+
+
+
+
+ +

+setOnCompletionListener

+
+public void setOnCompletionListener(MediaPlayer.OnCompletionListener l)
+
+
+
+
+
+
+
+
+
+ +

+setOnErrorListener

+
+public void setOnErrorListener(MediaPlayer.OnErrorListener l)
+
+
+
+
+
+
+
+
+
+ +

+setOnBufferingUpdateListener

+
+public void setOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener l)
+
+
+
+
+
+
+
+
+
+ +

+setOnSeekCompleteListener

+
+public void setOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener l)
+
+
+
+
+
+
+
+
+
+ +

+setOnSubtitleUpdateListener

+
+public void setOnSubtitleUpdateListener(MediaPlayer.OnSubtitleUpdateListener l)
+
+
+
+
+
+
+
+
+
+ +

+setOnInfoListener

+
+public void setOnInfoListener(MediaPlayer.OnInfoListener l)
+
+
+
+
+
+
+
+
+
+ +

+onTouchEvent

+
+public boolean onTouchEvent(MotionEvent ev)
+
+
+
+
+
+
+
+
+
+ +

+onTrackballEvent

+
+public boolean onTrackballEvent(MotionEvent ev)
+
+
+
+
+
+
+
+
+
+ +

+onKeyDown

+
+public boolean onKeyDown(int keyCode,
+                         KeyEvent event)
+
+
+
+
+
+
+
+
+
+ +

+start

+
+public void start()
+
+
+
Specified by:
start in interface MediaController.MediaPlayerControl
+
+
+
+
+
+
+ +

+pause

+
+public void pause()
+
+
+
Specified by:
pause in interface MediaController.MediaPlayerControl
+
+
+
+
+
+
+ +

+suspend

+
+public void suspend()
+
+
+
+
+
+
+
+
+
+ +

+resume

+
+public void resume()
+
+
+
+
+
+
+
+
+
+ +

+getDuration

+
+public long getDuration()
+
+
+
Specified by:
getDuration in interface MediaController.MediaPlayerControl
+
+
+
+
+
+
+ +

+getCurrentPosition

+
+public long getCurrentPosition()
+
+
+
Specified by:
getCurrentPosition in interface MediaController.MediaPlayerControl
+
+
+
+
+
+
+ +

+seekTo

+
+public void seekTo(long msec)
+
+
+
Specified by:
seekTo in interface MediaController.MediaPlayerControl
+
+
+
+
+
+
+ +

+isPlaying

+
+public boolean isPlaying()
+
+
+
Specified by:
isPlaying in interface MediaController.MediaPlayerControl
+
+
+
+
+
+
+ +

+getBufferPercentage

+
+public int getBufferPercentage()
+
+
+
Specified by:
getBufferPercentage in interface MediaController.MediaPlayerControl
+
+
+
+
+
+
+ +

+setVolume

+
+public void setVolume(float leftVolume,
+                      float rightVolume)
+
+
+
+
+
+
+
+
+
+ +

+getVideoWidth

+
+public int getVideoWidth()
+
+
+
+
+
+
+
+
+
+ +

+getVideoHeight

+
+public int getVideoHeight()
+
+
+
+
+
+
+
+
+
+ +

+getVideoAspectRatio

+
+public float getVideoAspectRatio()
+
+
+
+
+
+
+
+
+
+ +

+setVideoQuality

+
+public void setVideoQuality(int quality)
+
+
+
+
+
+
+
+
+
+ +

+setBufferSize

+
+public void setBufferSize(int bufSize)
+
+
+
+
+
+
+
+
+
+ +

+isBuffering

+
+public boolean isBuffering()
+
+
+
+
+
+
+
+
+
+ +

+setMetaEncoding

+
+public void setMetaEncoding(java.lang.String encoding)
+
+
+
+
+
+
+
+
+
+ +

+getMetaEncoding

+
+public java.lang.String getMetaEncoding()
+
+
+
+
+
+
+
+
+
+ +

+getAudioTrackMap

+
+public java.util.HashMap<java.lang.String,java.lang.Integer> getAudioTrackMap(java.lang.String encoding)
+
+
+
+
+
+
+
+
+
+ +

+getAudioTrack

+
+public int getAudioTrack()
+
+
+
+
+
+
+
+
+
+ +

+setAudioTrack

+
+public void setAudioTrack(int audioIndex)
+
+
+
+
+
+
+
+
+
+ +

+setSubShown

+
+public void setSubShown(boolean shown)
+
+
+
+
+
+
+
+
+
+ +

+setSubEncoding

+
+public void setSubEncoding(java.lang.String encoding)
+
+
+
+
+
+
+
+
+
+ +

+getSubLocation

+
+public int getSubLocation()
+
+
+
+
+
+
+
+
+
+ +

+setSubPath

+
+public void setSubPath(java.lang.String subPath)
+
+
+
+
+
+
+
+
+
+ +

+getSubPath

+
+public java.lang.String getSubPath()
+
+
+
+
+
+
+
+
+
+ +

+setSubTrack

+
+public void setSubTrack(int trackId)
+
+
+
+
+
+
+
+
+
+ +

+getSubTrack

+
+public int getSubTrack()
+
+
+
+
+
+
+
+
+
+ +

+getSubTrackMap

+
+public java.util.HashMap<java.lang.String,java.lang.Integer> getSubTrackMap(java.lang.String encoding)
+
+
+
+
+
+
+
+
+
+ +

+canPause

+
+public boolean canPause()
+
+
+
Specified by:
canPause in interface MediaController.MediaPlayerControl
+
+
+
+
+
+
+ +

+canSeekBackward

+
+public boolean canSeekBackward()
+
+
+
Specified by:
canSeekBackward in interface MediaController.MediaPlayerControl
+
+
+
+
+
+
+ +

+canSeekForward

+
+public boolean canSeekForward()
+
+
+
Specified by:
canSeekForward in interface MediaController.MediaPlayerControl
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/widget/class-use/MediaController.MediaPlayerControl.html b/doc/io/vov/vitamio/widget/class-use/MediaController.MediaPlayerControl.html new file mode 100644 index 0000000..bf3353b --- /dev/null +++ b/doc/io/vov/vitamio/widget/class-use/MediaController.MediaPlayerControl.html @@ -0,0 +1,196 @@ + + + + + + +Uses of Interface io.vov.vitamio.widget.MediaController.MediaPlayerControl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
io.vov.vitamio.widget.MediaController.MediaPlayerControl

+
+ + + + + + + + + +
+Packages that use MediaController.MediaPlayerControl
io.vov.vitamio.widget  
+  +

+ + + + + +
+Uses of MediaController.MediaPlayerControl in io.vov.vitamio.widget
+  +

+ + + + + + + + + +
Classes in io.vov.vitamio.widget that implement MediaController.MediaPlayerControl
+ classVideoView + +
+          Displays a video file.
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio.widget with parameters of type MediaController.MediaPlayerControl
+ voidMediaController.setMediaPlayer(MediaController.MediaPlayerControl player) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/widget/class-use/MediaController.html b/doc/io/vov/vitamio/widget/class-use/MediaController.html new file mode 100644 index 0000000..21d9142 --- /dev/null +++ b/doc/io/vov/vitamio/widget/class-use/MediaController.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class io.vov.vitamio.widget.MediaController + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.widget.MediaController

+
+ + + + + + + + + +
+Packages that use MediaController
io.vov.vitamio.widget  
+  +

+ + + + + +
+Uses of MediaController in io.vov.vitamio.widget
+  +

+ + + + + + + + + +
Methods in io.vov.vitamio.widget with parameters of type MediaController
+ voidVideoView.setMediaController(MediaController controller) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/widget/class-use/VideoView.html b/doc/io/vov/vitamio/widget/class-use/VideoView.html new file mode 100644 index 0000000..ca72635 --- /dev/null +++ b/doc/io/vov/vitamio/widget/class-use/VideoView.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class io.vov.vitamio.widget.VideoView + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
io.vov.vitamio.widget.VideoView

+
+No usage of io.vov.vitamio.widget.VideoView +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/widget/package-frame.html b/doc/io/vov/vitamio/widget/package-frame.html new file mode 100644 index 0000000..28c1020 --- /dev/null +++ b/doc/io/vov/vitamio/widget/package-frame.html @@ -0,0 +1,45 @@ + + + + + + +io.vov.vitamio.widget + + + + + + + + + + + +io.vov.vitamio.widget + + + + +
+Interfaces  + +
+MediaController.MediaPlayerControl
+ + + + + + +
+Classes  + +
+MediaController +
+VideoView
+ + + + diff --git a/doc/io/vov/vitamio/widget/package-summary.html b/doc/io/vov/vitamio/widget/package-summary.html new file mode 100644 index 0000000..dea6735 --- /dev/null +++ b/doc/io/vov/vitamio/widget/package-summary.html @@ -0,0 +1,175 @@ + + + + + + +io.vov.vitamio.widget + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package io.vov.vitamio.widget +

+ + + + + + + + + +
+Interface Summary
MediaController.MediaPlayerControl 
+  + +

+ + + + + + + + + + + + + +
+Class Summary
MediaControllerA view containing controls for a MediaPlayer.
VideoViewDisplays a video file.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/widget/package-tree.html b/doc/io/vov/vitamio/widget/package-tree.html new file mode 100644 index 0000000..e944b2a --- /dev/null +++ b/doc/io/vov/vitamio/widget/package-tree.html @@ -0,0 +1,163 @@ + + + + + + +io.vov.vitamio.widget Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package io.vov.vitamio.widget +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/io/vov/vitamio/widget/package-use.html b/doc/io/vov/vitamio/widget/package-use.html new file mode 100644 index 0000000..ac4b013 --- /dev/null +++ b/doc/io/vov/vitamio/widget/package-use.html @@ -0,0 +1,176 @@ + + + + + + +Uses of Package io.vov.vitamio.widget + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
io.vov.vitamio.widget

+
+ + + + + + + + + +
+Packages that use io.vov.vitamio.widget
io.vov.vitamio.widget  
+  +

+ + + + + + + + + + + +
+Classes in io.vov.vitamio.widget used by io.vov.vitamio.widget
MediaController + +
+          A view containing controls for a MediaPlayer.
MediaController.MediaPlayerControl + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/overview-frame.html b/doc/overview-frame.html new file mode 100644 index 0000000..3285a6f --- /dev/null +++ b/doc/overview-frame.html @@ -0,0 +1,44 @@ + + + + + + +Overview List + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+io.vov.vitamio +
+io.vov.vitamio.widget +
+

+ +

+  + + diff --git a/doc/overview-summary.html b/doc/overview-summary.html new file mode 100644 index 0000000..bdaf6da --- /dev/null +++ b/doc/overview-summary.html @@ -0,0 +1,155 @@ + + + + + + +Overview + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + + + + + + + + + + + +
+Packages
io.vov.vitamio 
io.vov.vitamio.widget 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/overview-tree.html b/doc/overview-tree.html new file mode 100644 index 0000000..3447aef --- /dev/null +++ b/doc/overview-tree.html @@ -0,0 +1,166 @@ + + + + + + +Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
io.vov.vitamio, io.vov.vitamio.widget
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/package-list b/doc/package-list new file mode 100644 index 0000000..65e220d --- /dev/null +++ b/doc/package-list @@ -0,0 +1,2 @@ +io.vov.vitamio +io.vov.vitamio.widget diff --git a/doc/resources/inherit.gif b/doc/resources/inherit.gif new file mode 100644 index 0000000..c814867 --- /dev/null +++ b/doc/resources/inherit.gif diff --git a/doc/stylesheet.css b/doc/stylesheet.css new file mode 100644 index 0000000..6ea9e51 --- /dev/null +++ b/doc/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/src/com/upc/pbe/upcnews/HLS.java b/src/com/upc/pbe/upcnews/HLS.java index 5d18cde..7beb1a6 100644 --- a/src/com/upc/pbe/upcnews/HLS.java +++ b/src/com/upc/pbe/upcnews/HLS.java @@ -2,9 +2,6 @@ package com.upc.pbe.upcnews; import java.util.ArrayList; -import com.xuggle.mediatool.IMediaReader; -import com.xuggle.mediatool.ToolFactory; - public class HLS { static final String TAG = "HLS"; @@ -12,7 +9,6 @@ public class HLS { ArrayList ppls; int numvideo; int quality; //0 és la més alta - IMediaReader reader; public HLS(ArrayList parsed) { @@ -28,10 +24,7 @@ public class HLS { Segment seg = ppls.get(numvideo).getLists().get(quality).getSegments().get(i); - //canviar .ts en .mp4 - reader = ToolFactory.makeReader(seg.getURL()); - reader.addListener(ToolFactory.makeWriter("output.mov", reader)); - while (reader.readPacket() == null); + } } diff --git a/src/com/upc/pbe/upcnews/VideoActivity.java b/src/com/upc/pbe/upcnews/VideoActivity.java index c323d5d..bcfd1d5 100644 --- a/src/com/upc/pbe/upcnews/VideoActivity.java +++ b/src/com/upc/pbe/upcnews/VideoActivity.java @@ -7,8 +7,6 @@ import android.view.Menu; import android.widget.MediaController; import android.widget.VideoView; -import com.xuggle.mediatool.IMediaReader; - public class VideoActivity extends Activity { VideoView video; diff --git a/vitamio.jar b/vitamio.jar new file mode 100644 index 0000000..efc68ab --- /dev/null +++ b/vitamio.jar diff --git a/xuggle-xuggler.jar b/xuggle-xuggler.jar deleted file mode 100644 index a11c9fc..0000000 --- a/xuggle-xuggler.jar +++ /dev/null