How to package and deploy blackberry apps to device from Eclipse

Olaseni picture Olaseni · Nov 19, 2010 · Viewed 12k times · Source

How do I package and distribute my apps from the Eclipse IDE?

My apps work within the simulators, but I have no idea how to deploy them to my blackberry device.

I moved the files to the Media card but I kept getting errors (i.e. invalid COD errors). Is there an appropriate way. It worked fine in the simulator!

Answer

Jeff picture Jeff · Nov 19, 2010

If your app uses any controlled APIs you will first need to get it signed by RIM. For more info on how to apply for code signing keys look here. Once you have your keys installed you can sign your app through eclipse. If you're using Blackberry plugin 1.0 go to BlackBerry > Request Signatures, If your using plugin v1.1 go to Project > BlackBerry > Package All

If your app doesn't use any controlled APIs you can skip all of that and load the app with something like JavaLoader: JavaLoader -u load [codfile]

Or you can fire up BB desktop manager and point it at your cod file.