Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import android.annotation.TargetApi;

import android.net.Uri;

import android.provider.DocumentsContract;

public class Main {
    @TargetApi(19)
    private static String getDocumentID(Uri uri) {
        return DocumentsContract.getDocumentId(uri);
    }
}