Update MediaPlayer Start Position When Paused
问题 I am streaming live audio and wish to have the functionality to pause the mediaplayer and then start from the current live position. The default Pause() and Start() just starts from where it was stopped. Any ideas on how to keep the current position updated so that Start() is instant? 回答1: Did you try calling seekTo()? You could keep it pemanently updated by calling seekTo() every half a second or so with TimerTask, But i don't know how i feel about this. EDIT: If you call seekTo() every 500