02-07-2012 09:53 AM
I have a device which has appears to have a corrupted databse HTML5 database, does anyone know how to locate this on the device and delete / reset the whole application storage area without having to reset the whole phone.
Solved! Go to Solution.
02-07-2012 10:07 AM
Your DB will be located here:
appName may be base64(appName) if you're using OS5. Delete the whole folder manually using Windows explorer if you can access it with the BlackBerry plugged in.
From within the app, "DROP TABLE.." would normally remove it, but doesn't help if you can't open because it was corrupted. Here you can use blackberry.io.dir.exists() to make sure the directory actually exists, then use blackberry.io.dir.deleteDirectory([path])where path == file:///SDCard/BlackBerry/System...
02-07-2012 10:23 AM
02-07-2012 10:48 AM
Tell me about it. Happened to me a few times which is why I know where to locate the db. Search my previous posts for various complainings on the subject. Glad you got it sorted!