Android VideoView - Detect point of time in video

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-05-10T04:31:23Z Indexed on 2010/05/10 4:38 UTC
Read the original article Hit count: 508

Filed under:
|
|

Hi all,

I am using a VideoView to display a video. I am using setOnPreparedListener and setOnCompletionListener to do stuff before and after the video starts and ends.

I was wondering how I could go about detecting some point of time in the video. For eg, say I want to write log to a file when the video has played for 10s. How can I detect the 10s mark?

Thanks Chris

© Stack Overflow or respective owner

Related posts about android

Related posts about videoview