HOWTO: Manually convert .jad/.jar to .cod if you cant do OTA
This is ONLY needed if you are unable to do Over-The-Air software downloads with your carrier. Big thanks to headtailgrep, quoted from RIMROAD
Quote:
|
thanks. I was looking for this.
|
It works fairly well, except the biggest caveat is when you re-install blackberry software through the loader, it will remove ALL these modules manually loaded..
However, in 4.0, you are able to do OTA installs of software. Some software OTA requires 'a signature' which you can get around by uploading manually.. in 3.7 it's the same,except you can't do OTA installs of software. Either way, even in 4.0 i find the above procedure handy... |
by "uploading manually" you are talking about doing it via the app loader on the desktop right? I have some OTA downloads setup on a server, but they don't work.
|
Essentially, yes. They're installed over the USB cable rather than over the airwaves. No websites involved, no need for an Internet connection.
You have to conver them to .cod files and use the CMD window (DOS style commands) with the javaloader command. It's more involved than using BlackBerry Desktop. |
Yeah I got that.
I have converted a few of the 500 or so java apps I have from when I had a java cell phone. It's just a pain to convert them all, just to test and see if they run right or a worth using. I wanted to put them all on the web server here and do OTA downloads... but it isnt working. it eventually times out. ;) |
If you know the basics of computer programming, you might be able to use a batch file or a Windows Scripting file to automate the conversions for you.
The question is, will it be faster to write the script to convert all 500, or will it be faster to do it manually? (A third answer is, "will it be faster to pay someone else to do the converting?", for those with money. :) ) |
I wrote a bat file to do the conversion then do the upload via usb to the BB, but not to do all of them, just one at a time and I have to change two things in the batch file each time to do a different one because of the file name. I haven't really found any worth using though. Most of them either don't run right, or the controls don't work right!
|
|
Thank you, thank you, thank you!!!! I've been looking for this for awhile!
|
Ok so I had a play with this, downloaded all the bits n pieces but I couldn't get it to work doing the DOS thing so I did it the blackberry way and it seemed to work ok
http://www.blackberry.com/knowledgec...4&vernum=0 You can now download the VNC as .cod, it is all in the ZIP file here, I then use the DOS prompt to upload via javaloader.exe and it is not on the Blackberry, haven't worked out how to use it yet though: www.mscse.co.uk/software/VNC.exe |
All you have to do is the following
a) install the JDE as per instructions b) put the .JAR/.JAD files in a directory c) Run RAPC.exe (comes with Blackberry JDE) "rapc import="c:\Program Files\Research in Motion\Blackberry JDE 3.7\lib\net_rim_api.jar" codename=<FILENAME> -midlet jad=<FILENAME>.jad <FILENAME>.jar " d) Upload the .COD using javaloader If you can upload the COD using javaloder you should have no troubles getting RAPC to work. I created a batch file (.bat) for this purpose... If you upload it to your Blackberry and do not see the Icon on your ribbon, you have done something wrong. A successful upload will show an app on the ribbon.. |
Most Midlets Work Yahooo!! The ones that dont however how do you delete them. Desktop Manager is blind that they are even there. Sometimes you might be able to delete them if they were an over the air download in applications. The ones that are sent to the Berry from Javaloader I can't seem to delete them.
Please Help, Thanks Mark |
use javaloader, as follows:
c:\>javaloader -usb dir <listing goes here> c:\>javaloader -usb erase <module name> that's it.. |
Helpful...
This is helpful info. I talked to somebody this past weekend who wanted to do this on their BB, so I will pass on the info and try to do it for myself as well.
|
I've had some minor success converting the files using the DOS prompt/RAPC method, but none of the programs I've converted seem to work once installed. I've noticed that I'm consistently getting the error: "Warning: Verification offset: X" and X is either 4, 12, or 15. I also see "cause:found X where displayable is required in a populating . . . "
Anyone have any ideas how to fix this? |
midlet class?
i'm trying to install pantopic but it won't work ota. so i tried using blackberry jde to convert the jar/jad to cod. when i get to this part:
Right-click on the name of the project and select Properties and select the Application tab. From the "Project Type" drop down menu, select MIDlet. On the same screen, under the title "Name of main MIDlet class:" enter the main MIDlet class and click Ok. The fully qualified package and class name is required here. I don't know what to put down as the name of main midlet class. thanks |
i'm getting two different errors one i think is just operator error i dont know about the other one first is i get a message in dos: Error: no files to process=pretty sure that's human error the other is
"Failed to load main-class manifest attribute from C:\Program Files\Research In Motion\BlackBerry JDE 4.1.0\lib\net_rim_api.jar .................i'm lost |
How about doing the reverse, I have a .cod/.alx file that I need to install over-the-air. I do not have desktop manager installed and my company doesn't want us to install it.
So, how can I get these files installed OTA? Thanks |
Why not just write a .alx
You can use any text editor such as notepad to write a .alx file that desktop manager will recognize to load the .cod files. It would look something like this:
<loader version="1.0"> <application id="Name of App"> <name>Name of App</name> <description>Some Description</description> <version>App Version</version> <vendor>Vendor Name</vendor> <copyright>Not needed but can be anything</copyright> <fileset Java="1.0"> <files> list of .cod file names that you would like to load. Each on a seperate line. net_rim_theme_RKRW.cod </files> </fileset> </application> </loader> when you save this file make sure you give it the .alx extension and save it to the same directory as your .cod files. Then desktop manager will recognize it and load the .cod files to your BB. It also gives you the option to remove these files at a later date also using desktop manager. |
All times are GMT -5. The time now is 09:50 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.