I'm using a MediaController
and MediaPlayer
together, to create a simple audio player in Android, taken from an example I found here on this site.
However, after much search I could not find the solution to my problem: the progress/seek bar doesn't refresh while the music is playing. It just updates itself when something on the MediaController
is pressed (Play/Pause, forward, etc).
Any easy fix for this that I'm not getting ?
NOTE: My MediaController
is declared in XML
, and my MediaController.MediaPlayerControl
methods just make use of the MediaPlayer
class.