get Data Column
public static String getDataColumn(Context context, Uri uri, String selection, Array<String> selectionArgs)
Get the value of the data column for this Uri. This is useful for MediaStore Uris, and other file-based ContentProviders.
Return
The value of the _data column, which is typically a file path.
Author
paulburke
Parameters
context
The context.
uri
The Uri to query.
selection
(Optional) Filter used in the query.
selection Args
(Optional) Selection arguments used in the query.