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

jquery - Invalid Assignment Left-Hand Side -

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

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -