P PJLPJLPJL Member Licensed User Longtime User Jun 18, 2021 #1 Apologies if I'm being stupid or I've missed this in another thread. I have used the ExternalStorage library to access and read and write files (as byte streams) using the built in (OpenInputStream/OpenOutputStream) methods. But I want to open a database (SQLite or Access). Is there a way to pass the pathname acquired as an ExternalFile (via ExternalStorage) to the Open/Initialise methods of the SQL or JACCCESS etc. handler? With thanks.
Apologies if I'm being stupid or I've missed this in another thread. I have used the ExternalStorage library to access and read and write files (as byte streams) using the built in (OpenInputStream/OpenOutputStream) methods. But I want to open a database (SQLite or Access). Is there a way to pass the pathname acquired as an ExternalFile (via ExternalStorage) to the Open/Initialise methods of the SQL or JACCCESS etc. handler? With thanks.
Erel B4X founder Staff member Licensed User Longtime User Jun 20, 2021 #2 No. You will need to copy it to File.DirInternal(=XUI.DefaultFolder). Upvote 0