Android - Video Restart or Resume

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-06T19:55:14Z Indexed on 2010/05/06 19:58 UTC
Read the original article Hit count: 296

Filed under:
|
|
|
|

Hi everyone,

I am writing a simple android application with a class that extends activity, that plays a video from a url on the web. There is a button on top that on click takes the user to a web page.

What I want to do is when the user is browsing the web page, if he hits the back button, I want him to come back to the main activity and restart the video. Is there a way to do this?

Also, is there a way the video can be resumed from where it left off?

Thank you. Chris

© Stack Overflow or respective owner

Related posts about android

Related posts about activity