I want to get the File extension from a Chooser Intent on an Samsung Galaxy S5.
The first returns an empty string and for the second one i get an empty string aswell.
The uri I get from the Chooser intent is
content://com.android.providers.downloads.documents/document/12537
string test = MimeTypeMap.GetFileExtensionFromUrl(uri.ToString()); // empty
string fName = uri.LastPathSegment.Split(new char[] { '\\', ':', '/' }).Last(); // Empty aswell