Re: [android-developers] VideoView causing an error

2010-04-17 Thread Mark Murphy
Matthew Patience wrote: > I am attempting to make a VideoView to obviously play videos on. When > I use the following code though I get the error "Cannot cast from View > to VideoView" on the marked line below. > > public class VideoView extends Activity { > > private String video_link; >

[android-developers] VideoView causing an error

2010-04-16 Thread Matthew Patience
I am attempting to make a VideoView to obviously play videos on. When I use the following code though I get the error "Cannot cast from View to VideoView" on the marked line below. public class VideoView extends Activity { private String video_link; private VideoView video_view;