I have deployed my .cod , .html, and .htaccess file on the web server for blackberry application distribution having size of 237kb but it does not allow to download.
What is the proper way to upload it?
Here is a nice Tutorial on how to do it :
http://assets.handango.com/marketing/developerTeam/BlackBerryOTADeployment.pdf
All you have to do is build the application with the eclipse plugin that you installed from RIM.
From eclipse you package the project
1.1 Right click on the project
1.2 BlackBerry
1.3 Package
Then go to the folder deliverables
2.1 Go to the folder with your version,mine is 5.0.0
2.2 Extract the application jar
2.3 Take the *.cod files(there should more than one if the app is bigger than 64k) and the .jad file and put it on your webserver
now you point your BlackBerry browser to the .jad file and install your new app
Don't forget to sign your application if needed.
Usually the problem because the jad file can't find the jar and cod files.
Are you sure you have pointed it to the absolute path of the jar.
instead of writing RIM-COD-URL : myApp.Jar you should write it : http://www.mydomain.com/myfolderlocation/myApp.jar
and so for the other file.
And don't forget to rename the COD to zip file and extract the zip file contents(which contain COD files) and upload these files. just remove the zip file after that
Related
I've just made my first Blackberry webworks app using PhoneGap. I want to install the app on a device, without connecting to the PC. The build generated an OTA folder containing 22 .cod files and 1 .jad file. How do I install this onto a device?
Modify .htaccess file on your web-server, to recognize .jad and .cod files properly.
Add the following lines to your .htaccess file on your web-server.
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/vnd.rim.cod cod
Then upload your cod files and jad file to your server.
After that navigate jad file location from your device browser.
UPDATE:
Upon compilation in OTA folder there are generated many cod files (in most cases).
To install your application wirelessly, you need .jad file and all of .cod files, located in OTA folder. Place jad and all of cod files into one folder on your web-server. And open jad-file location from your BlackBerry device browser. After that device will read jad file contents and will be able to install cod files to the device memory.
I developed blackberry app using phonegap.
With the help of command prompt,
I build the project with BlackBerry Code signing key,then it can successfully build
and gives the OTAInstall folder contains cod and jad file.
But my client wants to only one jad file to install their device.
Actually I tried to install the jad file without cod file, at that time the device shown error.
So, Everytime I install the app to my device, I used the OTAInstall folder containing the cod and jad file.
How can I convert this lot of files into one single file?
Only one jad file won't install the application. Anyway you need either jad file + cod file(s), or alx file + cod file(s).
jad file + cod stands for OTA install via browser
alx file + cod stands for desktop computer installation via BB Desktop Manager and usb-cable, attached to BB Device.
There's a workaround, it works only for desktop installation and it has a side effect.
Your application won't be listed under Applications list in device options.
You can use javaloader.exe utility that loads and erases cod files on attached BB device. This utility can be found in JDE (Java Development Environment) bin folder.
So, create bat-file that invokes javaloader and loads cod-files to connected device. And pack it along with your cod file(s) in SFX-archive, that runs that bat file when archive has been unpacked.
I am trying to develop a Blackberry webworks application in which I need to add 14mb of zip file in the resource and prepackage it with the application.
Once the application is launched the zip file should be copied from the resource folder to SDCard and unzipped. Using local:/// protocol I am not able to access the file.
Please help if there is any other way to access the data or prepackage the data.
Hi all how to upload and download blackberry application from webserver ? i have already set MIME type but yet i cant download sucessfully .so what can i do ?
In the application folder please find the install files in \deliverables\Web\ [version no]
From there take .jad file and all files with the extension of .cod file and deploy to the server.
And set the MIME type to the following.
JAD text/vnd.sun.j2me.app-descriptor
COD application/vnd.rim.cod
Note : The usual problem may be we take .cod file from \deliverables\Standard\ [version no.] folder. The .cod file find there (in Standard folder) is a zipped version of .cod files. If you are taking .cod file from there, you have to rename .cod file to .zip and take the multiple .cod from that. Multiple .cod files created when your cod file is more than 64 KB.
I made a simple application for blackberry the jar file doesn't get created ?
when the application is build following files get created in the main folder
.cod, .cso, .debug, .jad, .jdp, .rapc except the .jar file.
The .cod files contain the compiled program code for your blackberry application, and are equivalent to jar files.
You can use either the .jad file, or an .alx file (using blackberry desktop manager) to load these .cod files onto your blackberry.