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
nish1013
Posts: 253
Registered: ‎08-14-2010
My Device: Not Specified

port a DB with an app HELP

Hi ,

 

I am creating an app consist of heavy load of static image resources. 

 

I tried to use libraries to port them but seems to be it may create more issues later.

 

I am wondering whether I can store all image resources in a DB and port this with the app.

 

Is it possible? If it is please show me the way .

 

Cheers.

Developer
Blanc
Posts: 638
Registered: ‎07-02-2009
My Device: Not Specified

Re: port a DB with an app HELP

Storing all the images to DB as blob data and retrieving every time you required from teh DB may cost the performance. Instead you can download/copy all these static files to SDCard before the launch of app. It will reduce the .cod file size too.

Thanks and Regards,
PraveenGoparaju.
Developer
nish1013
Posts: 253
Registered: ‎08-14-2010
My Device: Not Specified

Re: port a DB with an app HELP

Hi ,

many thanks for you input. can u please direct me to a code sample or a link that I can get more deteils about your suggested way?

 

Cheers