DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:get_database_folder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:get_database_folder [2015/09/19 08:23] (current)
stevegarman created
Line 1: Line 1:
 +====== 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<​code>​db=app.OpenDatabase("​MyDatabase"​)</​code>​
 +
 +If you wish to save the database in a different folder, use an absolute path<​code>​app.MakeFolder("/​sdcard/​mydatabases"​);​
 +db=app.OpenDatabase("/​sdcard/​mydatabases/​MyDatabase"​)</​code>​
 +
  
built_in/get_database_folder.txt ยท Last modified: 2015/09/19 08:23 by stevegarman