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

Discussion in 'Android Questions' started by JohnC, Apr 16, 2019.

  1. JohnC

    JohnC Well-Known Member Licensed User

    In several fileprovider examples, I see the below code for the manifest:

    Code:
    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?
     
  2. DonManfred

    DonManfred Expert Licensed User

  3. JohnC

    JohnC Well-Known Member Licensed User

    Thank you.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice