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

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -