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
Developer
gopi_riar
Posts: 54
Registered: ‎10-05-2012
My Device: blackberry curve 9300
My Carrier: Vodafone

using database problem??

[ Edited ]

Can any one help me ??? I have blackberry smartphone 9300 ..

and i m using eclipse SDK  3.7.2

And i m building a background application which uses database to insert values and read the values .... it creates database on sdCard and whenever my handheld restarted .. it shows insertionexception .. It is not using the database after restart....

Please Help me??

Please use plain text.
Developer
simon_hain
Posts: 16,010
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: using database problem??

is your application autostarted?
if yes, maybe the sd card database is not available at the time you try to access it.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
gopi_riar
Posts: 54
Registered: ‎10-05-2012
My Device: blackberry curve 9300
My Carrier: Vodafone

Re: using database problem??

But Blackberry curve doesnot support to create database on phone memory and yes it is on memory card and auto started ... but it is for sometime that device not recognizes the sdCard what after that ????

Please use plain text.
Developer
gopi_riar
Posts: 54
Registered: ‎10-05-2012
My Device: blackberry curve 9300
My Carrier: Vodafone

Re: using database problem??

[ Edited ]

Actually when i firstly install my application .. It works fine and if i try to delete it it shows file in use ..

 

and when i restart the device ... i m able to delete the db file ... my application don't get restarted.. after a reboot 

Please use plain text.
Developer
richardkesuma
Posts: 29
Registered: ‎10-19-2012
My Device: Blackberry 10 Limited Edition
My Carrier: Telkomsel

Re: using database problem??

What kind of Database that you use? SQLite?

Let me know, ,aybe I can help you :smileyhappy:

Best Regards.


Richard Kesuma
Please use plain text.