I\'m a beginner in Android programming.
I\'m writing an application to list all video file in a folder and display information of all videos in the folder. But when
I don't think you post your URI into the mediastore video query
Uri uri = Uri.parse("content://media/external/video/media/9"); Cursor cursor = MediaStore.Video.query(res, data.getData(), new String[]{MediaStore.Video.VideoColumns.DURATION});