Hi, I have a BlackBerry app that, when installed, needs to also copy over some files(.htm, css, images).
How is this done? Is it some attributes that need to be defined in the .alx or .jad files?
Hi, I have a BlackBerry app that, when installed, needs to also copy over some files(.htm, css, images).
How is this done? Is it some attributes that need to be defined in the .alx or .jad files?
Installing your app only adds modules to the device - you can't create arbitrary files in the file system (at least during install time). There are a few ways you could accomplish what you need:
When the app first starts up, create files on the filesystem from resources compiled into your COD. This would work well as long as your files aren't too big (you want to try to avoid bloating your COD file if possible).
When the app first starts up, download the required files over HTTP and copy them into the filesystem.