Skip to content

Releases: HBiSoft/PickiT

Fixed and changed a few things

20 Jan 11:41
Compare
Choose a tag to compare
  • All content providers should now work with this release.
  • Copied files now have the same name as the original file, if available (instead of tempFile). If the file name can not be retrieved using ContentResolver, the last index of the uri will be used. This should not affect the file in any way.
  • The file extension of Google Drive, Dropbox and OneDrive files will now be included in the file name (if it is available - https://stackoverflow.com/a/53132045/5550161).

Fix 2 issue

10 Dec 17:25
Compare
Choose a tag to compare

Fix issue #9 and #10

wasLocalFileSelected

11 Oct 10:18
Compare
Choose a tag to compare

Added option to check if the selected file was selected from Dropbox, Google Drive or Dropbox.

Improvements to unknown file providers

30 Sep 11:40
Compare
Choose a tag to compare

Some file providers(applications) will return null when trying to read the data column (for example EZ File Explorer). With this release, I check if the data column returns null. If it does, a copy for the file is created in the temporary folder, same as when you select a file from Google Drive.

Fix issue #1

09 Sep 07:34
Compare
Choose a tag to compare

Added checks to ensure the file size / cursor doesn't return 0 / null.

Important changes

29 Aug 07:32
Compare
Choose a tag to compare

This release has 3 main changes:

  • If the file was selected from an unknown provider, it will now also be copied to the temp folder. This is to avoid the Unknown Uri issue. It is the only reliable way of doing it.
  • I added checks for the file extension. I have added comments in the library if you want to read more about this.
  • There was an issue when selecting a file from a sub-directory inside the downloads directory, this will now be fixed.

Added wasSuccessful boolean to onCompleteListner

24 Aug 13:42
Compare
Choose a tag to compare

The PickiTonCompleteListener now has two more parameters. A boolean to check if PickiT was successful and a String to return the reason why it was not successful.

Revert back to old Download Provided implementation

24 Aug 05:54
Compare
Choose a tag to compare

In the original gist I posted, I was recommended to change the implementation of the Downloads provider. After more testing, I've found that this causes issues. I reverted back with the original implementation that has proven to work.

Minor improvements

16 Aug 16:37
Compare
Choose a tag to compare

Code cleanup and renaming of some classes

An Android library that returns real paths from Uri's

16 Aug 10:01
Compare
Choose a tag to compare