开发者

Adding files during installation of Blackberry apps

I have a BlackBerry app that, when installed, needs to also copy over so开发者_JS百科me 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:

  1. 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).

  2. When the app first starts up, download the required files over HTTP and copy them into the filesystem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜