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);
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.