While playing a video in videoview from raw folder , a black screen comes before starting the video.
My question is how to remove that black screen which seems like a jerk ?
I am using below code to start video
int raw = getResources().getIdentifier("login", "raw", getPackageName());
String path = "android.resource://" + getPackageName() + "/" + raw;
videoView.setVideoURI(Uri.parse(path));
videoView.start();