04-24-2012 03:56 AM
I have created a tab bar which appears when I enter first time in database screen, this code is working fine. But when we go on another tab and again go on database screen tab it throws an exception
net.rim.device.api.database.DatabaseIOException: File system error (12)
I have closed database properly.
I Have close database in finally block.Database is closing each time when I am moving the tab
Solved! Go to Solution.
04-24-2012 10:40 AM
Don't close the database each time.
Open it once when you open your application and call that instance for each usage of the database.