Android Question ExternalStorage without the UI

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I am trying to use the ExteranlStorage but it is forcing me to use the built in UI to pick directories.

I already have my own UI, and it seems that I cannot use the ExternalStorage routines without having a valid ExternalFile and I am unable to create a valid ExternalFile without using the ExternalStorage UI.

Seems in order to create a ExternalFile I need to initialize the
B4X:
            Dim ExternalPath as ExternalFile

            ExternalPath.Initialize
            ExternalPath.IsFolder     = True
            ExternalPath.Name        = "/storage"
            ExternalPath.Native.

      .Native function but HOW and TO what?

BobVal
 

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I guess I should clarify better.

I already have the File Path and File Name in a SQLite DB and want to read the file.

How do I convert these to a ExternalFile without having to go to the list and pick them
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
To initially get access to the EXTERNAL Storage it is MANDATORY that the user select the Root-Folder ONCE.
 
Upvote 0
Top