GetDatabaseFolder

app.GetDatabaseFolder() returns the path to the default folder where app.OpenDatabase() creates a database file.

This will save the file in the default folder

db=app.OpenDatabase("MyDatabase")

If you wish to save the database in a different folder, use an absolute path

app.MakeFolder("/sdcard/mydatabases");
db=app.OpenDatabase("/sdcard/mydatabases/MyDatabase")