I am working on a media player that uses streaming video for
content.   I have noticed a couple of things.   Once I call
setContentURI, the app seems to block until the content is completely
buffered and playback can begin.   If for some reason the connection
to the server gets hung it locks up the entire app.   Selecting the
back button does nothing.  So from that I have a couple of
questions.   How can I specify a timeout on the VideoView for when it
tries to retrieve the content, or how can I code it to make the back
button work so the user can at least cancel the operation.   I tried
placing setContentURI call in a thread and get an exception stating I
am trying to call it from the wrong thread.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to