title: Android - MediaStore.Video.query() is returning null
body: <p>I'm trying to retrieve the metadata from a video file (title, language, artist) using the method MediaStore.Video.query(). However, the method is always returning null. The code is bellow:</p>
  
  <pre><code>String[] columns = {
      MediaStore.Video.VideoColumns._ID,
      MediaStore.Video.VideoColumns.TITLE,
      MediaStore.Video.VideoColumns.ARTIST
  };
  
  Cursor cursor = MediaStore.Video.query(getApplicationContext().getContentResolver(), videoUri,columns);
  
  if (cursor != null) {
    cursor.moveToNext();
  }
  
  String title = cursor.getString(cursor.getColumnIndex(MediaStore.Video.VideoColumns.TITLE));
  </code></pre>
  
  <p>Any suggestion about how to return video metadata using android?</p>
  
  <p>==Update</p>
  
  <p>As I searched in many places, I tried one solution using CursorLoader. However, the method loadInBackground() from CursorLoader is also returning null. The code is showed bellow:</p>
  
  <pre><code>String[] columns = {
                  MediaStore.Video.VideoColumns.TITLE
          };
  
          Uri videoUri = Uri.parse("content://mnt/sdcard/Movies/landscapes.mp4");
  
          CursorLoader loader = new CursorLoader(getBaseContext(), videoUri, columns, null, null, null);
  
          Cursor cursor = loader.loadInBackground();
  
          cursor.moveToFirst();
  
          String title = cursor.getString(cursor.getColumnIndex(MediaStore.Video.VideoColumns.TITLE));
  </code></pre>