IOException on Samsung to pick up Media Player file

0

I have a problem with a video, I'm running a video in the background of a layout, other devices work normally but in samsung I can not access the video and take the exception

  java.io.IOException: setDataSourceFD failed.: status=0x80000000
  at android.media.MediaPlayer.setDataSource(Native Method)at android.media.MediaPlayer.setDataSource(MediaPlayer.java:939)

Code

  Uri video = Uri.parse("android.resource://" + getPackageName() + "/"
                + R.raw.app_video_medium);

        mp.setDataSource(getApplicationContext(), video);
        mp.prepare();

Does anyone know why?

    
asked by anonymous 09.12.2015 / 15:49

0 answers