Open Document


Allows the user to select and return one or more existing documents.

See also PICK_FILE.

Read also the Android documentation


public void startOpenDocument( initialUri) {
    Intent intent = new Intent("android.intent.action.OPEN_DOCUMENT"); 
    intent.putExtra("android.provider.extra.INITIAL_URI", initialUri); //
    if (intent.resolveActivity(getPackageManager()) != null) { 
      startActivityForResult(intent, REQUEST_CODE);

protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == REQUEST_CODE && resultCode == RESULT_OK) { 
      // handle result

Example intent filter

<activity ...>
        <action android:name="android.intent.action.OPEN_DOCUMENT" />
        <category android:name="android.intent.category.DEFAULT" />

Apps Providing an Implementation

Search on Github

Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)

For Specification Writers

Edit on Github