In previous article we have introduced how to use android VideoView widget to play, pause, continue, stop and replay video file in android. But when you use VideoView’s seekto method to make the video play from a particular position, you will find the video playing is inconsistent. Some times it start from the beginning.
This article show you example about how to use android.widget.VideoView to play, pause, seek to, stop and replay video file. The video file can be browsed from local SD card or a stream video from a web url.
This article will show you how to communicate between activity and background service in android. It will play, pause and stop a web audio file in android background service in this example. It will also update activity progress bar from background service to display audio playing process.
This article will show you how to play audio file from local file or web url file in android programmatically. It also shows how to display audio playing progress in a progressbar.