specialFolderPath("documents") can't see my DB
Posted: Sun Mar 06, 2016 2:35 pm
Hi all,
my app uses a db stored in specialFolderPath documents:
and I have access to it, no problem.
but I can't see the db stored in documents folder. when I browse to that path it is empty. the same through the PC connection with the phone: the folder documents is empty.
I've checked "write external storage" on standalone appl. settings.
any idea?
thanks for help
franco
my app uses a db stored in specialFolderPath documents:
Code: Select all
if the environment is "mobile" then
put specialFolderPath("engine") & "/Gradazione-Babo.sqlite" into engineFilePath --answer " Mobile Environment is --> " & the environment
put specialFolderPath("documents") & "/Gradazione-Babo.sqlite" into tDatabasePath
if there is not a file tDatabasePath then --- if database is already in the documents folder. If not, copy it from the engine folder
put URL ("binfile:" & engineFilePath) into URL("binfile:" & tDatabasePath )
answer " File is copied from Engine into the Documents folder ..."
answer "tDatabasePath contiene: "& tDatabasePath
else
answer "File is already in the documents folder ... "
end if
end if
but I can't see the db stored in documents folder. when I browse to that path it is empty. the same through the PC connection with the phone: the folder documents is empty.
I've checked "write external storage" on standalone appl. settings.
any idea?
thanks for help
franco