Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to package and deploy blackberry apps to device from Eclipse

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!

like image 894
Olaseni Avatar asked Nov 19 '10 04:11

Olaseni


2 Answers

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.

like image 90
Jeff Avatar answered Oct 16 '22 23:10

Jeff


Before installing your application into device you need to sign them. Try to install app with BB desktop manager, if this error continues, clean and build your project from eclipse project explorer's context view.

I also faced such problems coz my apps are targeted to 4.6 and 4.7 and their eJde's are problematic ones, So i switched deployment and debugging part in JDE rather than eclipse.

like image 37
Prasham Avatar answered Oct 16 '22 22:10

Prasham