AndroidDeveloperLB
AndroidDeveloperLB
Would it be ok, if I take only (and only) the parts that are related to file handling, and make it into a repo that has Apache license ?
Oh, I can't find the file. Where is it? :( Is it this one: https://github.com/jeisfeld/Augendiagnose/blob/master/AugendiagnoseLib/src/de/jeisfeld/augendiagnoselib/util/imagefile/FileUtil.java ?
That's what I wrote ... :) Thank you !
@jeisfeld Say, I've now started trying this code, and I'd like to ask a question: How do I create a new file and have an inputStream/OutputStream using the new DocumentFile...
1. What if I want to use a path that's on the SD card? How do I create the file there? 2. Can you please show an example? Also, how...
1. I meant secondary storage. Primary is easy... 2. will check it out. Thank you.
I do have this part, and it works. And I don't think you need to store it, as you can always query it: ``` final List persistedUriPermissions = getContentResolver().getPersistedUriPermissions(); ```...
ok, I think I got how to create a new file. There is no need to store the permitted URIs, as you can always query them: ``` final DocumentFile documentFile...
I've also noticed that you traverse the files hierarchy in order to get to the correct DocumentFile. Is it really needed? Isn't there a better way? And what's with the...
1. files-hierarchy - that's too bad. 2. DocumentFile on Kitkat - ok. I though maybe it would be better. 3. What about the reflection parts? Aren't there better solutions?At least...