SAF: App Inventor implementation of Storage Access Framework

Why the storage link should start from content://android.provider
I am unable to get this type of link with my file manager only it provides
/storage/emulated/0/Download/Recycler View%20Extension.aix
Unable to access link storage like content://android.provider
Please anyone help

Ever worked with Content URIs?

After using OpenDocumentTree or OpenSingleDocument, how to quit/stop this action and get back to companion? when i press BACK button, the companion will just quitā€¦

in my app when i press back button of my phone app getting crash

1 Like

yes. i think itā€™s a null pointer exception

1 Like

Fixed :smile:

Two issues has been fixed:

  • Fixed issue in write methods
  • Fixed null pointer exception when SAF picker was cancelled by user
6 Likes

Where is ā€œbuiltUriā€ component in this extension ?

Thatā€™s not a method and is procedure.
Though if you will look at blocks then you will find related methods.

1 Like

ChangeLog Version 1.1

New Blocks
image
Changes

  • Removed category param from OpenSingleDocument method
  • GotCopyResult and GotMoveResult now return resulting/target documentā€™s uri

Bug Fixes

  • Fixed issue in write methods
  • Fixed null pointer exception when SAF picker was cancelled by user
    Reported by @Kevinkun
8 Likes

Hiii can any one tell me that which component i have to use to open pdf file from storage ā€¦i am confused that which component have to use

How to get 1 Folder permission in android 11? I need permission of

/storage/emulated/0/Android/data/com.otherapp.per/files

Can you tell me how you get access of other app private folder? I need to learn it Badly. My app is not working in Android 11 for this

Did you check the examples given above?
Also, show what you have tried.

11 posts were merged into an existing topic: Specific folder permission Android 11

Can this read all types of files size such as mp3, mp4, pdf, etc also can it extract image thumbnails of mp4 and mp3 too?

Sorry I need any of extension which can fulfill my desire kindly provide one

hello can you upload an example of how we can copy a file from a directory to another.??

Here is an example:

but it is only for text/* files.

1176Capture

I want to copy files with this block so how I can do this. please make a post

@vknow360

i want to copy files from aseets to android data folder in android 11, so how can i do thisā€¦?