tag:github.com,2008:https://github.com/HBiSoft/PickiT/releases Release notes from PickiT 2022-04-28T14:53:12Z tag:github.com,2008:Repository/202703102/2.0.5 2022-04-28T14:53:45Z Fix issue #48 <p>Seems like this happens when selecting a file with an unusual, but valid extension, like <code>.JPG</code> instead of <code>.jpg</code> or <code>.jpeg</code>.<br> This is fixed by first checking if the file exists after it has been returned from Utils, if it's available it gets returned otherwise it will be copied to the temp folder.</p> HBiSoft tag:github.com,2008:Repository/202703102/2.0.4 2022-04-28T13:45:22Z Update demo application <p>Changed the demo application to have the option to select an image or a video.</p> HBiSoft tag:github.com,2008:Repository/202703102/2.0.3 2022-02-09T13:10:41Z Fix issue #44/#45 <p>Fix issues <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1059963321" data-permission-text="Title is private" data-url="https://github.com/HBiSoft/PickiT/issues/44" data-hovercard-type="issue" data-hovercard-url="/HBiSoft/PickiT/issues/44/hovercard" href="https://github.com/HBiSoft/PickiT/issues/44">#44</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1101309306" data-permission-text="Title is private" data-url="https://github.com/HBiSoft/PickiT/issues/45" data-hovercard-type="issue" data-hovercard-url="/HBiSoft/PickiT/issues/45/hovercard" href="https://github.com/HBiSoft/PickiT/issues/45">#45</a>.<br> You can now check if the file was selected from an unknown provider.</p> HBiSoft tag:github.com,2008:Repository/202703102/2.0.2 2021-12-02T07:09:22Z Implement #44 <p>You can now check if the <code>Uri</code> is from an unknown provider, like <code>File Explorer</code> using <code>isUnknownProvider(uri, APILevel);</code></p> HBiSoft tag:github.com,2008:Repository/202703102/2.0.1 2021-11-10T05:42:56Z Fix issue #41 <p>This release mainly fixes issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1037641811" data-permission-text="Title is private" data-url="https://github.com/HBiSoft/PickiT/issues/41" data-hovercard-type="issue" data-hovercard-url="/HBiSoft/PickiT/issues/41/hovercard" href="https://github.com/HBiSoft/PickiT/issues/41">#41</a>, but also cleaned up the project and also updated the dependencies.</p> <p>When selecting a file inside a sub-directory in the <code>Downloads</code> directory, the <code>Uri</code> on some devices return a content <code>Uri</code> using an <code>msf:</code> provider. In this case, it's not possible to "convert" the <code>Uri</code> to a file path. The library uses <code>/proc/</code> in this case. You can use the <code>proc</code> path returned as you would with a file path.</p> <p>I've also added the option to disable <code>/proc/</code> if it's not working for some reason.</p> <p>You can now also select multiple files.</p> HBiSoft tag:github.com,2008:Repository/202703102/0.1.14 2020-07-31T08:38:28Z Two improvements <p>Fixing issue when selecting a file from "Recent" or "Download" on Android 11.<br> Added context when deleting temp folder <code>pickiT.deleteTemporaryFile(this);</code></p> <p>Also, updated API's to the latest.</p> HBiSoft tag:github.com,2008:Repository/202703102/0.1.13 2020-07-16T16:50:42Z Add support for Dropbox's integrated file picker <p>Thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/1nicolas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/1nicolas">@1nicolas</a> - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="657687426" data-permission-text="Title is private" data-url="https://github.com/HBiSoft/PickiT/issues/22" data-hovercard-type="pull_request" data-hovercard-url="/HBiSoft/PickiT/pull/22/hovercard" href="https://github.com/HBiSoft/PickiT/pull/22">#22</a></p> HBiSoft tag:github.com,2008:Repository/202703102/0.1.12 2020-07-02T13:17:20Z SD Card path on different devices <p>Some devices didn't allow us to use the UID to access files for example /storage/6555-4521/video.mp4 - It will now first check if your device can access the file, if not it will attempt to get the "name" of your SD Card and return a path like this instead /storage/sdcard1/video.mp4</p> HBiSoft tag:github.com,2008:Repository/202703102/0.1.11 2020-04-27T06:51:27Z Added PickiTonUriReturned() callback <p>IMPORTANT:<br> When selecting a file from Google Drive, for example, the Uri will be returned in onActivityResult before the file is even available. We first have to wait for Google Drive to download the file before we try and use it. That is why PickiTonUriReturned() callback was added. Applications like Dropbox display a ProgressBar (indicating the progress) for us(inside the picker), but there are many applications like Google Drive and OneDrive which will return the Uri before it is even usable. Unfortunately, there is no way of knowing the progress of the file being downloaded - Thus we can only let the user know (inside PickiTonUriReturned) that we are waiting for the file to be downloaded (This can actually take very long depending on the file size).</p> <p>You can test this, go to:<br> Google Drive - App Info - Storage - Clear data<br> Then open your app (or the demo app) and select a file from Google Drive.</p> HBiSoft tag:github.com,2008:Repository/202703102/0.1.10 2020-02-24T06:05:18Z Fix issue #14 <p>The issue was that the file size was rounded to <code>0</code>, causing the crash.</p> HBiSoft