Then disconnect, connect again and post a screenshot like mine.
I copied the sqlite file from Documents/Zalohy to ASD. Unfortunately, there are 0 sentences in the ASD file... Where am I making a mistake?
Senior1954
You probably need to complete the giving permission process before trying to copy the file. Note that this appears to be a device issue (Samsung) for the requirement to manage all files permissions.
Go back up and look at Anke's example blocks for TestToASD.apk
Your answer to my question is still missing
Taifun
The app will not be in Google. It is only for my private use.
Then there is no need to use SAF
Get the manage external storage permission
and use one of the file extensions, for example App Inventor Extensions: File | Pura Vida Apps to copy the file to ASD
As this permissioni is not declared in the Companion app you can't test this with Companion.
Taifun
Hello.
Can anyone help?
I use the SAF extension.
Mobile: Android: 14
- In the /Documents/Zalohy/ folder there are several files, for example: dbKnihy2411060728.sqlite, dbKnihy2411051250.sqlite, dbKnihy2410171001.sqlite, etc.
- I want to select one of these files and copy it to ASD as dbKnihy.sqlite.
Unfortunately, I can't copy the file...
Where am I making a mistake?
Senior1954
No need to create a new topic for the same question, which you keep asking ...
We have provided all the answers to your question above:
Use SAF CopyDocumentToFile, or set MANAGE_EXTERNAL_STORAGE permission.
Make your life easier and don't use SAF as already mentioned from the beginning of this thread
Taifun
This seems the most acceptable way for me... One more question: How do I achieve the renaming of the .sqlite file in ASD? What extension is best to use for this?
Senior1954
Use the File component "Move" block to rename a file.
Thank you.
69 / 5 000
Hello.
I tried to add a block like this:
but I get an error:
I actually need to "create" the dbKnihy.sqlite from currentFilename in ASD.
Senior1954
Sorry, this was supposed to be a question for Taifun...
What is the purpose of the WebViewExtra extensiom and the Base64Convertor extension in this context?
You only have to ask for MANAGE_EXTERNAL_STORAGE permission and then copy the file from Backup to ASD, that's all. I would use the file extension for this App Inventor Extensions: File | Pura Vida Apps
Please show all relevant blocks
Taifun
Can you explain the purpose of the WebViewExtra extensiom and the Base64Convertor extension in this context?
Also where are you asking for MANAGE_EXTERNAL_STORAGE permission?
Taifun
You can save a file directly to the ASD using webviewextra.
I just need to rename the file...