android - How to start video from where it stopped -


i using videoview playing video. if go out of application, while returning application ie in onresume() should play video stopped.

to current progress(check in onpause):

long progress = mvideoview.getcurrentposition();  

to resume (in onresume):

mvideoview.seekto(progress); 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -