01-28-2013 05:01 AM - edited 01-28-2013 05:17 AM
In my application i am creating encrypted database. I am getting following exception when executing the line DatabaseFactory.encrypt(myURI, new DatabaseSecurityOptions(codeSigningKey));
The exception is as follows:
net.rim.device.api.database.DatabaseIOException: Failed to convert the database - file:///SDCard/databases/Sample/Sample.db
if i am execute the apps first time without the line DatabaseFactory.encrypt(.....), then apps working fine, after that if i executing the apps with DatabaseFactory.encrypt(...) then its working fine, this time i am not getting any exception. Why?
I simulate the SDCard in the simulator. Can anybody know why i am getting this error.