I have a videoview
Videoview videoPlayer = findViewById(R.id.video);
videoPlayer.setVideoURI(MY_PATH);
videoPlayer.start();
If a video exists under MY_PATH
, videoView
plays it correctly, how can i catch if there is no video under MY_PATH
in phone? I need to find it before calling .start()
.
Thanks.