Created
November 9, 2017 17:13
-
-
Save neosinan/47da504f3b9f56c32cc72f7c108b3423 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static final Uri EC = EXTERNAL_CONTENT_URI; //Added as Media image public static final Uri IC = INTERNAL_CONTENT_URI; | |
public static final String FILES = "image"; | |
public static final String PROVIDER_AUTHORITY = "com.neosinan.cspr.simplecamera"; | |
public static final Uri CONTENT_URI = Uri.parse("content://" | |
+ PROVIDER_AUTHORITY + "/"); | |
public static final Uri FILES_URI = Uri.parse("content://" | |
+ PROVIDER_AUTHORITY + "/" + FILES + "/"); | |
public static final String CONTENT_TYPE = "vnd.android.cursor.dir/image" + PROVIDER_AUTHORITY + "." + FILES; | |
public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.dir/image" + PROVIDER_AUTHORITY + "." + FILES; | |
static final int FILE_ROOT = 1; | |
static final int FILE_ID = 2; | |
public static final String CONTENT_TYP = "vnd.android.cursor.dir/image"; | |
private static final HashMap<String, String> MIME_TYPES = new HashMap<String, String>(); | |
static { | |
MIME_TYPES.put(".jpg", "image/jpeg"); | |
MIME_TYPES.put(".jpeg", "image/jpeg"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment