Distributing Blackberry helper API
I am new to BB development and finding some trouble in understanding how to package a sample application for Blackberry.
I use Eclipse Plugin for Blackberry Development.
I have a sample application(say a HelloWorld application) and want to package and distribute.
1. What are the ways i can do it?
I see that by generating jad and cod files for the project i will be able to download it to my BB and install it. So what is the purpose of the .alx file?
2. also i find some .debug,.cso,.csl,.rapc and a .jar file in myh eclipse project. What is the purpose of the .jar generated here?
2. what if i dont have an application but only a helper API that i have created which can be used in other Blackberry applications. How should i package this? a jar? or a cod? file is needed.
Any suggestions/information regarding packaging would be really helpful. I am looking towards packaging an API which another developer can use in his blackberry application. So what is the best way to package this.?
Best way for over the air deployment is by uploading both the .JAD and the .COD files to a web server. Sometimes the .cod file is actually multiple .cod files and you need to extract it using 7-zip or some other zip utility before you can upload it to the web server.
If you want to make a library (not a stand alone application) this can be done easily within Eclipse. If you go to Project -> Properties and click on the Application tab, you can choose to have your application be a "Library" rather than a "CLDC Application". You can use an external library in your current project by going to Project -> Properties -> Project References and adding the library to your references.
The other files are not useful for over the air deployment, I regret that I can't give you the exact details on what they do.
After a lot of googling around found this link on how to create a library
http%3A//blackberry-tips-bikas.blogspot.com/2010/02/how-to-create-library-jar-file-and-use.html%5DBlackBerry%20Tricks%20and%20Tips%20and% 20Codes%3A%20How%20to%20create%20library%20jar%20f ile%20and%20use%20that%20jar%20in%20another%20proj ect
I was wondering why all the other files are generated when only the .jad and .cod makes sense.
I guess the .alx is used for installation using a Javaloader or Desktop Manager in the BB.
Sorry for encoding the URL and pasting it here. Might be useful for someone who needs the information.
|All times are GMT -5. The time now is 08:07 AM.|
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.