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

JohnC

Expert
Licensed 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
Thank you.
 
Top