I'm probably going to feel really stupid asking this, but --
Q1. How can I open a file on the SD card?
I have a file in a directory on the emulator's SD card - /sdcard/pbdb/PB.dpbm
In this case it is a database file, so try to open it :
I also tried "DirDefaultExternal" and adding "/sdcard/" to the path, but it always fails to open. (I checked it is really there and correct name).
It also fails if I try to create a new test file (on sdcard).
Q2. How do I copy an existing file to the "DirInternal" ? Where does it go?
I created a new test DB file that works, but I can't see it anywhere. I thought it would be under the /data directory, but it appears empty.
Geoff.
Q1. How can I open a file on the SD card?
I have a file in a directory on the emulator's SD card - /sdcard/pbdb/PB.dpbm
In this case it is a database file, so try to open it :
B4X:
con.Initialize(File.DirRootExternal, "pbdb/PB.dpbm",False)
It also fails if I try to create a new test file (on sdcard).
Q2. How do I copy an existing file to the "DirInternal" ? Where does it go?
I created a new test DB file that works, but I can't see it anywhere. I thought it would be under the /data directory, but it appears empty.
Geoff.