public class FileChooserUtils
Provides methods for extracting image path from chooser
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getDataColumn()
Get the value of the data column for this Uri. This is useful for MediaStore Uris, and other file-based ContentProviders.
|
static java.lang.String |
getPath()
Get a file path from a Uri. This will get the the path for Storage Access Framework Documents, as well as the _data field for the MediaStore and other file-based ContentProviders.
|
static boolean |
isDownloadsDocument() |
static boolean |
isExternalStorageDocument() |
static boolean |
isMediaDocument() |
public static java.lang.String getPath()
Get a file path from a Uri. This will get the the path for Storage Access Framework Documents, as well as the _data field for the MediaStore and other file-based ContentProviders.
public static java.lang.String getDataColumn()
Get the value of the data column for this Uri. This is useful for MediaStore Uris, and other file-based ContentProviders.
public static boolean isExternalStorageDocument()
public static boolean isDownloadsDocument()
public static boolean isMediaDocument()