I do not understand. The answer is of course YES.
If the answer was 'yes', your example would not request write permission or use App Inventor's File for < API 29 .........?
Of course, it must request WRITE
permission on Android < 11. This has nothing to do with my extension. It only ensures that storage permissions are NOT requested on Android 11+.
... on Android < 11 (API < 30).
But why use another / additional component?
This was just a test app to compare both (MFile
extension & File
component).
Hence the checkbox.
Ah.
~
Version 1 and Version 2 Both giving me error . Can you please make Source Code Open. I will Try to Update and try to solve issue.
Question 2 is Does this Extension Works With all android Version 4.0 to android 12. ?
Post screenshots(s) of the error and also your blocks.
Yes, it should work on all Android versions. But the purpose and benefit of the extension is to avoid unnecessary storage permissions on Android 11+. Otherwise you can also use the File
component.
Hello everyone
doesn't seem to work with Android 14. Files from the download folder cannot be read.
Best regards
They can be read, but they must be created by the app itself. Oherwise you must use SAF or MANAGE_EXTERNAL_STORAGE
permission.
See also here:
How can I use MFile extension to do the following things?
- Upload text file from any memory-area of the phone.
- Save that file in ASD so it can be read and manipulated (means adding, editing, splitting etc) according to the need.
- Can we do step 2 outside of ASD as well?
(Thankyou @Anke for suggesting me to discuss this new problem in a new post.)
Upload to what?
Upload to read the text file. I am not able to do (read) it.
-- Only if I can read the file, I can do all other text-file manipulations.
-- help me.
Pick and read the text file and/or save it in a new folder /Documents/TextFiles/ using SAF and read/wirte from it / to it using the File component.
How can I use SAF, can you explain with blocks?
SAF means Storage Access Framework, am I right?
Can you share the documents that explain SAF? I shall learn few basics and ask doubts after that.
COMMENT UPDATED: SAF: App Inventor implementation of Storage Access Framework - #249 by Anke
Read everything, from beginning to end here:
then you should get a good understanding of how to use the extension.
Also some background: