How to package and deploy blackberry apps to device from Eclipse
Asked Answered
I

3

5

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!

Incommunicative answered 19/11, 2010 at 4:53 Comment(0)
A
7

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.

Asterism answered 19/11, 2010 at 21:23 Comment(2)
Thanks a bunch mate - the JavaLoader approach totally worked! But what about distributing via OTA for my clients?Incommunicative
@Incommunicative : The cod file has sibling .cod files zipped in it. Extract the main code files. Put your JAD file in the folder where you extracted that code file. Upload the folder on server and give your clients the url of JAD file. It should work.Typewriter
T
1

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.

Typewriter answered 19/11, 2010 at 11:9 Comment(0)
W
0

If you want to deploy tour Blackberry application this can help you to learn it step by step: How to prepare and deploy a BlackBerry Java Application

Walcott answered 3/5, 2011 at 6:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.