I googled "getDuration android".  The first result showed me that you
could be checking the length of the video before it has been loaded.

http://www.anddev.org/viewtopic.php?p=23181


On Mar 26, 2:06 pm, Abhi <abhishek.r.sha...@gmail.com> wrote:
> Hi,
>
> Has anyone tried using the getDuration() method in VideoView? It
> returns a -1 for me always. Is there a way around?
>
> Thanks,
>
> Abhi

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to