Best directory to put your database

jpvniekerk

Active Member
Licensed User
Longtime User
What would be the best directory to put your program's database in?

I have been using DirDefaultExternal during testing (for ease of access). Now I am ready to finalize the program and wonder if it would be better to put the database in DirInternal.

Is there any compelling reason to choose one over the other?
 

ukimiku

Active Member
Licensed User
Longtime User
In order not to clutter the - scarce - internal memory on my device, I move everything I can to external memory, in my case this is a SD card, and for larger, databases, a USB flash drive.

When my apps have to create a folder for storing app-related data (preferences, databases, calculation results...), they try to create a folder on DirExternal first, and if that should not exist, they revert to creating one on DirInternal.

Regards,
 
Upvote 0
Top