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
Regular Contributor
Posts: 92
Registered: ‎07-19-2010
My Device: 8520
Accepted Solution

Move DB from resources

Hi i have a dude..

 

i make a db from sqllite, and add to the proyect at folder src.

 

Now when the app run i make a new folder in the sdcar called databases.. 

 

How i make one copy from the database storage in the src for put in the sdcard/documents?

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

Re: Move DB from resources

I believe this is exactly what the SQLite demo program provided with the JDE/JRE does.  have a look at its startup processing. 

Regular Contributor
Posts: 92
Registered: ‎07-19-2010
My Device: 8520

Re: Move DB from resources

regards.. solved

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

Re: Move DB from resources

Great.  As the original poster, you can mark it as solved, which will mean other people don't look at it to solve and anyone else having the same question will know that the answer is is in this Thread.  Cheers

Highlighted
Regular Contributor
Posts: 92
Registered: ‎07-19-2010
My Device: 8520

Re: Move DB from resources

Smiley Wink