i am trying to populate listview with video files from a folder created on sd card. I am using
managedQuery(MediaStore.Video.Media.EXTERNAL_CONTENT_URI,mystring, null, null, null);
But it populates all videos saved in sdcard, but i want only those videos which are saved in specific folder. I have also used
Uri uri = Uri.fromFile(filepath);
cursor = managedQuery(uri, mystring , null , null , null);
and
Uri uri = Uri.parse(filepath);
cursor = managedQuery(uri, mystring , null , null , null);
But it doesn't work. I have tried lot and got help from google still not succeded. Is there any way to give path of that folder? or any other way?