Is there other ways to get only video that you like, not all video in the folder is included.
w
videoCursorArtist = getContentResolver().query(sourceUri, projection,
null, selectionArgs, orderByARTIST);
How to do it?
I do that like so :
String[] arrayOfString = { "_data" };
mediaCursor = getContentResolver().query(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, arrayOfString, null, null, null);
if ((mediaCursor != null) && (mediaCursor.getCount() > 0))
{
dataIdx = mediaCursor.getColumnIndex("_data");
playNextVideo();
}