I want to load a video in a video view from raw folder with the following code

```
 String uri = "android.resource://" + getPackageName() + "/" + R.raw.preview;
 VideoView mVideoView  = (VideoView)findViewById(R.id.videoView1);
 mVideoView.setVideoURI(Uri.parse(uri));
 mVideoView.requestFocus();
 mVideoView.start();

```

I receive `NullPointerException` at this line: `mVideoView.setVideoURI(Uri.parse(uri));`
Any ideas in what should I do ?