FileProvider is a special subclass of ContentProvider that facilitates secure sharing of files associated with an app by creating a content:// Uri for a file instead of a file:/// Uri.. A content URI allows you to grant read and write access using temporary access permissions. When you create an Intent containing a content URI, in order to send the content URI to a client app, you can also Bundle: call(String arg0, String arg1, Bundle arg2). Because from android KitKat (sdk version 19), the system returned uri is not real local file path uri, it is a content provider style uri, so we should parse the uri and get the real file local path by query related content provider (image provider, audio provider, video provider and document provider). Jun 13, · I was using the DocumentPicker API to fetch and upload files to a certain server, it's working on iOS but on android the URI returned isn't the same as iOS. Feb 06, · Hello, Can someone explain to me why GetPathFromContentResult(UriString As String) is crashing (see code below) when trying to convert content://slicelive.comd uri format into a real files?