This is the code but it does not show me anything but the app closes
VideoView video;
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
video = (VideoView)findViewById(R.id.pantallaVideo);
video.setMediaController(new MediaController(this));
video.setVideoPath("http://192.168.15.214/PruebaConexion/S01E01.mkv");
video.start();
}
The error you give me is the following
MediaPlayer: setDataSource: IOException! uri = link
and this other error
dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.erick.reproducingvideo.MainActivity.access $ super
PS: I have the server in my computer and the video is in mkv format