Comments (4)
I've uploaded a new snapshot, please update your project. Use the new FileDescription
.
from simplestorage.
Does that work on older devices without MediaFile as well?
like this
DocumentFileUtils.moveFileTo(DocumentFile.fromFile(fileHeader.path), this, Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), fileDescription, fileCallback(fileHeader));
from simplestorage.
yep, thanks, will test
from simplestorage.
Does that work on older devices without MediaFile as well?
As long as you have storage access, yes, it will work on all OS versions.
from simplestorage.
Related Issues (20)
- DocumentFile.makeFile is giving me null and app crashes on some devices HOT 7
- File access not possible after clearing app data HOT 1
- MediaStore lost access to files after uninstalling the app or clearing its data HOT 7
- copyFileTo creates subdirectory in target directory with target's name HOT 7
- CANNOT_CREATE_FILE_IN_TARGET when attempting to save on external drive HOT 1
- Cannot copy/move hidden folders HOT 10
- Creating app's custom folder in internal storage root path without any permissions HOT 3
- How to regain access to a folder of DocumentFile or DocumentFileCompat outside of callbacks? HOT 9
- How to overwrite/truncate an already existing file? HOT 2
- Is there some way to listen for changes under a tree URI or at least over a single document URI? HOT 1
- Just a question to cloud storages like GoogleDrive / Dropbox
- Request codes must be unique. File picker=3, Folder picker=0, Storage access=0, Create file=4 HOT 1
- IllegalArgumentsException: Empty Storage ID HOT 4
- Execution failed for task ':app:mergeDebugResources'
- On Android 13 device hasStorageAccess returns false HOT 1
- How can i set specific path or uri in storageHelper.openFilePicker(REQUEST_CODE_PICK_FILE_FOR_RENAME)? HOT 1
- Awesome HOT 1
- Zip file uncompressed size HOT 1
- Rename recovery failed HOT 3
- Choosing initial Path for file picker and requestStorageAcess HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplestorage.