FANDOM


Content records are returned in the form of a cursor, which is a familiar concept in other RDB systems There is some @todo descriptions of using Cursors in the early part of Pro Android Media

Cursor cursor = managedQuery(
  Media.EXTERNAL_CONTENT_URI, 
  columns, 
  null, 
  null, 
  null
);

if (cursor.moveToFirst()) {
  String displayName = cursor.getString(displayColumnIndex);
}