mercredi 18 février 2015

Changing the Database Path in Codename one

is there any way to change the Database path in codename one other than the default path which is creating automatically. I need to get the database out from the ios device and check it. But in the ios device am not getting the path/ folders which the database is creating in default path.


I tried to create the database externally , the db is created but i can't access the file: The command i used to create db externally is.



String DbPath = FileSystemStorage.getInstance().getAppHomePath()+"Test.DB";
FileSystemStorage.getInstance().openOutputStream(DB_PATH);


but when i tried to access the db am getting error


Database db= db.getDatabasePath(DbPath);


Expecting a Solution!!!


Aucun commentaire:

Enregistrer un commentaire