Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

MediaStore.Files

extends Object
java.lang.Object
   ↳ android.provider.MediaStore.Files

Class Overview

Media provider table containing an index of all files in the media storage, including non-media files. This should be used by applications that work with non-media file types (text, HTML, PDF, etc) as well as applications that need to work with multiple media file types in a single query.

Summary

Nested Classes
interface MediaStore.Files.FileColumns Fields for master table for all media files. 
Public Constructors
MediaStore.Files ()
Public Methods
final static Uri getContentUri ( String volumeName, long rowId)
Get the content:// style URI for a single row in the files table on the given volume.
static Uri getContentUri ( String volumeName)
Get the content:// style URI for the files table on the given volume.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MediaStore.Files ()

Public Methods

public static final Uri getContentUri ( String volumeName, long rowId)

Get the content:// style URI for a single row in the files table on the given volume.

Parameters
volumeName the name of the volume to get the URI for
rowId the file to get the URI for
Returns
  • the URI to the files table on the given volume

public static Uri getContentUri ( String volumeName)

Get the content:// style URI for the files table on the given volume.

Parameters
volumeName the name of the volume to get the URI for
Returns
  • the URI to the files table on the given volume