Hi, again Anybody have drawn a video over a canvas.
I retrieved the canvas from a SurfaceView and I used a VideoView to display my video. I create the VideoView only when I launch the video. My issue is that the video stay under the SurfaceView. If I shift the SurfaceView with margin, I can see a part of my video. If I set a background to my VideoView, I can see the VideoView over the SurfaceView (without the video, only the color of the background). The sound of the video is always audible. Anybody have an idea. Thanks. chabfive a écrit : > Hi everyone, > > I have some problems to draw primitives on a SurfaceView's canvas and > to display a video on another SurfaceView in the same time. > > When I start the video, this one works but primitives which are > previously displayed are no more displayed. Because > SurfaceHolder.lockCanvas() return null. > > I used a RelativeLayout and two SurfaceViews. > > Somebody have any idea? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---