Question: I have indeed tried to check here and else were for solution to this but no luck, probably because am a newbee.

**TASK:** I want to play a `RTSP` video stream on an `android app`

**TRIALS:** I tried out with a `2min mp4` video copied to the `res\raw` folder with Media Player and `VideoView`. Later I used the `API Demo` sample and I set:

```
 path = "android.resourcee://com.me.mobile/R.raw.mithlat";

```

**ERROR:** 
on `MediaPlayer` API Demo just a blank page, no video no sound
on `VideoView` API Demo it shows 

```
"Sorry this video cannot be played"

```

CONFIG:
My target is `2.33` (This is what am testing with)

`minimun is 2.1`

Thank you

Answer: 
I know it a very late reply but for future references, I am adding this.

This is because path should be mentioned like this :
`"android.resource://" + getPackageName() +"/raw/" + mediaName"`, where media name is the name of video sample.

`R.raw.variableName/fileName` gives the int value references and should be with the Android's inbuilt functions like `getString(R.id.string_name)`, which return the exact resources in required formats.

Also, in this case, `VideoView` is not getting the proper media file that's why it is not able to run it and giving this error.
Please try the following code for playing Video in the videoView

```
VideoView videoView = (VideoView)findViewById(R.id.VideoView);
Uri uri = Uri.parse("android.resource://" + getPackageName()+"/"+ R.raw.demo7);
video.setVideoURI(uri);
video.start();

```