Welcome!

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

Java Development

Reply
Highlighted
Developer
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone

Not able to create database

Hi,

 

I'm creating a db in file:///SDCard/Databases/Supermaxibb/Supermaxi.db path but everytime its giving error that database doesn't exist.

 

net.rim.device.api.database.DatabaseIOException: Database does not exist -file:///SDCard/Databases/Supermaxibb/Supermaxi.db 

 

I have tried using store too(it works on 9800 but not on 9790/9300)

Rujuta Trivedi
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Not able to create database

Sorry not going to help much here.

 

I have to ask - is there an SD Card present ?

 

I presume so.  I would try the SQLite demo program, change it to store to that specific location and give it a try.

Developer
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone

Re: Not able to create database

Ofcourse SDCard is present. I have already mentioned that I tried it using store too but its working on 9800 but not on 9790 and 9300 for store

Rujuta Trivedi