Example usage for android.provider MediaStore AUTHORITY

List of usage examples for android.provider MediaStore AUTHORITY

Introduction

In this page you can find the example usage for android.provider MediaStore AUTHORITY.

Prototype

String AUTHORITY

To view the source code for android.provider MediaStore AUTHORITY.

Click Source Link

Usage

From source file:Main.java

public static boolean isMediaStoreUri(Uri uri) {
    return uri != null && ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())
            && MediaStore.AUTHORITY.equals(uri.getAuthority());
}

From source file:Main.java

private static boolean isMediaUri(Uri uri) {
    return uri != null && ContentResolver.SCHEME_CONTENT.equals(uri.getScheme())
            && MediaStore.AUTHORITY.equals(uri.getAuthority());
}