Android Question What does the FileProvider "name" parameter do?

JohnC

Expert
Licensed User
Longtime User
In several fileprovider examples, I see the below code for the manifest:

B4X:
CreateResource(xml, provider_paths,
   <external-path name="name" path="shared" />
)

I understand that the "shared" is the name of the sub-directory that the files are in and this can even be set to "" (null) to specify the root directory.

But what does the "name" parameter do?
 

JohnC

Expert
Licensed User
Longtime User
Thank you.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…