You can use setProperty to specify the database file name on the device, such as the directory of the running program, a specific directory path, or a secure digital (SD) card.
ConnectionProfile cp = MyDatabaseClass.getConnectionProfile(); cp.setProperty("databaseFile", "databaseFile"); cp.save();
/mydb.udb
/Temp/mydb.udb
/Storage Card/mydb.sqlite
Otherwise, the application would have to be restarted, and the user would need to login and resubscribe from the server each time, as though the application was a new application without any previous data.