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
Contributor
djpinto
Posts: 41
Registered: ‎11-15-2012
My Carrier: Optimus

Database error to create

Hi,

 

I'm create a database in simulator and run perfectly.

But when I run in phone appeare error "File system not ready".

 

My code is:

 

URI myURI = URI.create("file:///store/home/user/nameapp/" +
"DBName.db");

d = DatabaseFactory.open(myURI);

 

cumps

Please use plain text.
Developer
simon_hain
Posts: 15,558
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: Database error to create

you can try this:
http://supportforums.blackberry.com/t5/Java-Development/Detect-system-availability-on-startup/ta-p/4...

most likely your app is starting and the file system is not ready yet
----------------------------------------------------------
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.
Contributor
djpinto
Posts: 41
Registered: ‎11-15-2012
My Carrier: Optimus

Re: Database error to create

But I create database below to create a MainScreen :smileyfrustrated:

Please use plain text.