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
nattyP
Posts: 17
Registered: ‎07-24-2011
My Device: Bold 8520
My Carrier: Digicel
Accepted Solution

Deploying data file with application

I have a data file/database (~256k) that I would like to include with my application, but not as a resource file.

 

I know I can bundle it as a resource, but I want the ability to modify the file as the app is being used, so it can't be part of the cod file.

 

I am currently thinking of deploying the app without the datafile, then let the app download the data file either on first use or as a background thread (during which I may have to provide some silly message).  I am hoping not to do either of these.

 

Instead, is there a way to deploy the app, with a file that will be written to the device memory (file:///store) as one (1) download?  If not, what are some viable approaches to this problem.

 

Please use plain text.
Developer
peter_strange
Posts: 19,602
Registered: ‎07-14-2008
My Device: Not Specified

Re: Deploying data file with application

Perhaps this:

 

http://supportforums.blackberry.com/t5/Java-Development/Resource-Installer-to-SD-Card-Application-Sa...

 

Downloading it in the application is I think another approach (and one I have taken). 

Please use plain text.
Contributor
nattyP
Posts: 17
Registered: ‎07-24-2011
My Device: Bold 8520
My Carrier: Digicel

Re: Deploying data file with application

Interesting approach.  Thanks for your response.

Please use plain text.