I'm currently using VideoView to play videos in my app and I would
like to display a progress dialog (indeterminate) while the video
buffers. Currently I am showing the progress onCreate and then hiding
it in my onPreparedListener. This is fine for playing from the
beginning, but often I will want to use seekTo() to start/resume at a
specific point in the video. I have tried calling progress.hide() from
my onSeekCompletionListener, but that is closing the progress too
early and the user gets a blank screen for several seconds before the
video starts playing since the video isn't buffered to that point yet.

Is there some way that I can find out when the video has buffered
enough for the user to watch the video from an arbitrary point? This
seems like a common need, but I haven't found any help via search. Am
I missing something obvious here?

Any/all help is appreciated.

-- 
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

Reply via email to