Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Regular Visitor
Posts: 1
Registered: ‎12-24-2012
My Device: Blackberry 9900
My Carrier: MTS

SQLite file permissions

[ Edited ]


I'm using SQLite on BB OS 10.2, storing it in a folder on SD card, it works perfectly.

But when I reinstall the app, one doesn't have access to this database, also I cannot change permissions to the file via Java API setReadable() and setWritable() both return false.

SQlite API in its turn fails with the message: "Error code = 14, msg = cannot open file". 

Does anyone know why is that happening? Is there any workaround for it?