SAF: App Inventor implementation of Storage Access Framework

Because the URI is accessible to your app and not the path.
I believe you can access files from shared directories after getting read access.

I Am Trying to copy files from one folder to another but I got some errors. can you please solve my problem?

Error

Aia:-
SAF.aia (31.9 KB)

Somehow uri has some issues. Do it to check results in companion.

i am testing this in companion. please check it and fix this problem.

Aia:-
https://community.kodular.io/uploads/short-url/tXe6pgra35HJCx5ZOvVCiucm4Yk.aia

Any Solution???

Yes and no.

What you mean??

but it is only working for text/ files

Why do you think so? There are two blocks in latest version for writing.

i can’t understand properly can you please please give us a aia file.??

Definitely no.
Everything you need to know is provided in that post.

why you do not help us. please give some images only for copy files.

Did you check?

i can’t understand what I do first. readAsByte Array or create documentree. if you give us this aia than this will be very helpful for us

hello Sunny Gupta please reply can you fix this??

Did you read? :slightly_smiling_face:

if i understand than why i ask you. i request you to make a demo aia of copy file from a folder to another

Taifun

2 Likes

Ok Please :pray: :sweat_smile:

Can you give me java code to Take Persistable Uri Permission of this uri
/Android/data/com.instagram.android

I need permission for this folder and all its sub folder
Read write both

You already created extension with code, can you please give me Java code