SAF: App Inventor implementation of Storage Access Framework

I was also hoping that these blocks would return a list of just files, but it also returns directories. I must be missing something? (I also tried around the other way using the IsTreeUri block, but that also returns files and directories)...

2 Likes

As I said,

But you cannot select this path / dir.

2 Likes

You should use GetMimeType block there.

2 Likes

Great, these blocks return the directories:

using a not block on the mimetype test should return files only :+1:

2 Likes

Well you needn't type dir mime type there.
Please check properties.

2 Likes

Yes :upside_down_face:

image

4 Likes
4 Likes

I can't say how long you can access it, but you still can access /Android subdirs.

5 Likes

Now Open Source :grin:

13 Likes

@vknow360 Nice Extension please add event Zip success and failed
Thank You

2 Likes

Sorry, for what?

4 Likes

@vknow360 Given that you commented on the corresponding thread on GitHub, would you consider implementing this as part of a core component?

13 Likes

Sure :grinning:

12 Likes

Your extension just blew up, awesome work Vknow :clap:

7 Likes

Epic !!!
:slight_smile:

4 Likes

Hello,
thanks for your extension!
I am having problems opening pdf files and listening to mp3 using ActivityStarter and have been recommended to use this extension.
I have read this post, and I see that it can do what I need for my APP, and I have made several tests but the truth is that I am not very clear with the way it works (I am not an expert).
Please could you give me an example to open a pdf file in a visible folder on the phone, without asking for read_external_estorage permissions and without ActivityStarter.

Thank you very much

2 Likes

Something is wrong with OpenSingleDocument method.
I'll get back to you once that is fixed.

3 Likes

As I already told you, here:

Works also an Android 11.

4 Likes

I tried with this code without success on Android 11
blocks

2 Likes

Did you read the examples provided in the topic?

4 Likes