i have a video file in my external directory. how can i load it to inputstream variable. For the time being i am reading file in the res/raw folder but i want to read it fro
Try
File file = new File(Uri.toString()); FileInputStream fileInputStream = new FileInputStream(file);
Then you can read from the stream.