Page 1 of 1
specialfolderpath() SOLVED!. :))
Posted: Thu Mar 06, 2014 9:57 am
by snop21
Good Day livecoders,
Guys, I am trying to create a database on my android device "Acer iconia B1" I used this script
------ > put specialFolderPath("/storage/sdcard1") & "/cbms.db" into tDatabasePath
but I got error message, I can't create the database
I already checked the application permission in the standalone setting.
what's wrong with my code, guys?
Thank you.
Regards
-snop21
Re: specialpathfolder()
Posted: Thu Mar 06, 2014 11:08 am
by Simon
Hi snop21,
There are only a few specialFolderPath/s and you cannot just create them.

Look in the dictionary.
Simon
Re: specialpathfolder()
Posted: Thu Mar 06, 2014 11:13 am
by snop21
Hello Simon,
Thanks for the reply..

)
I checked it already in the dictionary.. Can't use that..!
is there any other way to make a sqlite database on the SD card..?
Thank you.
Regards
-snop21
Re: specialpathfolder()
Posted: Thu Mar 06, 2014 11:51 am
by Simon
Hi snop21,
Have you tested what happens when you just use specialFolderPath("documents") and the user moves the app to the sd card??
Install Location>Allow External Storage
Simon
Re: specialpathfolder()
Posted: Thu Mar 06, 2014 1:44 pm
by Klaus
snop21 wrote:I checked it already in the dictionary.. Can't use that..!

Could you please explain this a little more, thanks.

Re: specialpathfolder()
Posted: Wed Mar 19, 2014 6:24 pm
by snop21
Simon,
I tried it to install it with my andriod device. I set Allow external but I can't still find the database file which is .db..
Klaus,
I was using specialfolder("documents") I want to save my database file into the sd card but i still can't see it..

Re: specialfolderpath() ##specialpathfolder()
Posted: Thu Mar 20, 2014 8:52 am
by Klaus
Just changed the subject!
