Skip to content Skip to sidebar Skip to footer

Setonseekcompletelistener For Videoview How Can Be Achieved

I'm developing a video player application for which the user has an option to seek to a particular location, but the problem is there is no setOnSeekCompleteListener for VideoView,

Solution 1:

You can switch from using VideoView to using MediaPlayer and a SurfaceView.

Or, grab the source code to VideoView (which is simply a combination of MediaPlayer and a SurfaceView) and modify it to expose the MediaPlayersetOnSeekCompleteListener().

Post a Comment for "Setonseekcompletelistener For Videoview How Can Be Achieved"