On Sun, Jan 9, 2011 at 11:20 AM, Scott Deutsch <surger...@gmail.com> wrote: > Ok, so now it streams the video. Thanks. > > But now the problem is, how can I put a buffering bar on top of the > surfaceview so they know when it will play.
Use a ProgressBar. Put it and the SurfaceView in RelativeLayout, with the ProgressBar a later child, so it stacks on top in the Z-axis. Here is a sample project designed to demonstrate streaming video with such a custom controller: https://github.com/commonsguy/vidtry (note: I haven't tried this app in a long time, so there may be minor issues) > Also, how can I make it so > that it doesn't skip like crazy. Like check how muched buffered and if > it is 10% resume play and if it catches up...pause. I haven't seen it skip ever, so I can't comment on that, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://bit.ly/smand1 and http://bit.ly/smand2 -- 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