Open database in backend.

This commit is contained in:
B. Petersen
2016-09-20 23:03:49 +02:00
parent bd95545eb0
commit a91c9544fb
@@ -280,6 +280,10 @@ public class ApplicationLoader extends Application {
ContactsController.getInstance().checkAppAccount();
MediaController.getInstance();
// open my sqlite file (you can inspect the file eg. with "Tools / Android Device Monitor / File Explorer")
File dbfile = new File(getFilesDirFixed(), "mrmailbox.db");
MrMailbox.MrMailboxOpen(ApplicationLoader.hMailbox, dbfile.getAbsolutePath());
}
@Override