简体   繁体   中英

Video Tracking time in android

I have video view it playing videos correctly but i want know video starting time and end time because i want send this tracking time to my server how can i do this programmatically in android.

Thanks in advance

Your problem is same as this try this - Get the progress time of the video played under videoview?

This will help you.

you can get the current time by videoview.getCurrentTime() and videoview.getduration() Method. This can help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM