12-20-2010 08:43 AM
I already found a topic were it was explained how to do this in FB4 however, I cannot create a .bar from production mode in FB4.5
Is it ok to upload the .bar from the bin-debug folder or should I do something else to create a production mode bar file?
12-20-2010 08:58 AM - edited 12-20-2010 09:00 AM
its actually more straight forward in the 4.5 build. follow these steps:
Go to Projects > Export Release Build
From there near the bottom choose the option to "Export and sign a plat-form..." and then hit finish and your exported .bar file should be under the root directory of the project you just exported.
There will be a pop up stating it could not be installed just hit ok and ignore it for now.
You can confirm the bar file creation success by installing it on to your device via the command line:
blackberry-deploy -installApp -package [PackageName].bar -device [DeviceIP]
and clicking on it in the device and see it run.
make sure you are in the directory of your newly created bar file for the command line to work. hope that helps. good luck!