miller420, Welcome to PinStack.
Thanks for this information. I know many of us will be using it. Let us know if there is anything we can do to help with your BB.
I dont know if this method has been documented but this way will allow you to convert your jar/jad files into .cod then make your own .alx so you can install through Desktop Manager. Using a method i got from blackberryforums to create your jar/jad's to cod's
Originally Posted by headtailgrep
I hope the moderators don't mind, but this procedure will show everyone how to upload third party software (midlets) to your blackberry. Midlets are java applications written for phones under the MDIP specification. There are hundreds of midlets already available to try, from network-enabled applications such as telnet, ssh, vnc, instant messagers, to games!
Where to download midlets? using Google, i come up with:
Search around for more..
Who needs to do this and why? We all want more third party software for our Blackberries, and this adds hundreds of potential titles to our third party software base! The folllowing scenarios are Blackberry users who benefit from this procedure:
a) All blackberry users without BES, such as BWC users
b) Blackberry users who use the redirector
c) Blackberry users with BES lower than 3.6
If you have BES 3.6 or higher running, you can download JAR/JAD midlets directly from your blackberry browser, as the BES does the conversion to COD for you automatically. However, you can still do this procedure if you really need to..
What technical requirements do I need to perform this task:
a) You need to be comfortable using DOS
b) You need to download and install the Blackberry JDE (free from the rim developer website)
c) You need to download and install the Sun Java SDK 1.4 or higher.
d) You do NOT need to know how to use the Blackberry JDE, you merely need some of the DOS apps that come with it.
Here's how to convert and upload midlets (JAR/JAD) files to your Blackberry. This is not for the faint of heart, but any person with reasonable technical computer skills can do it:
a) Download and install the RIM Java Development Environment.
This software requires the sun Java SDK, so
b) Download and install the Sun Java SDK.
MAKE SURE YOU GET THE SDK! *NOT* THE JRE!
Once both are installed, download the midlets you wish to put on your blackberry. Midlets are BOTH a .jar and .JAD file.
c) For ease of use, move the JAD and JAR files for each midlet you want to convert to the BIN directory in the RIM Java Development Environment directory on your hard drive, for example:
c:\program files\Research in Motion\Blackberry JDE 3.7\bin\
Using RAPC.exe in DOS, convert the midlet to a COD as follows, all on one line (might be easier to make a .bat file out of this)
d) rapc import="c:\Program Files\Research in Motion\Blackberry JDE 3.7\lib\net_rim_api.jar" codename=virca -midlet jad=Virca.jad Virca.jar
Subsitute a different codename, jad and jar filename for whatever application you wish to convert. If successful, it will say no errors and you will have a COD file. The import= is a REQUIRED step.
Using their mothod to make you .cod file from your jar/jad files. that what you do i create a text document using these paramators.
Copyright (c) 2006 Zelda
then rename the txt to Zelda.alx... obviously swapping Zelda for w/e you want... have fun
(URLS had to be removed)
Peace Up, Smoke Out
this method is alittle confusing can it be any simpler? or more detailed
It sure can. I zipped up all the files that are needed and made a DOS batch file. You double click the batch file and type in the name of the JAR file and it makes a COD and ALX on any PC. The only requirement on the PC you run it on is it needs to have the latest JRE (Java Runtime Environment).
I don't know if it would be against some sorta copyright laws to post a link to the files here???
Bbriand, Could you please enumerate the step by step procedure you used to convert jar files to cod and alx files? I'm not very good with computers so I need some help. Thanks a lot!!
NOTE THAT JAD AND JAR FILES can be installed by using your Pearls browser on the internet. If you do not have a Data Plan or the file cannot be downloaded Over The Air then you can use this method.
Here's a batch file I use that I got from somebody. It converts .jar and .jad to .cod and .alx.
You will need to download and install Blackberry JDE. Click on the following link and select Blackberry Java Development Environment v4.2. I know it works with this batch file. I'm not sure if v4.2.1 would be different or not. Download and install it on your computer.
Copy and paste the following text into notepad and name it filename.bat and double click it.
:: get jde location
set /p jde=what is the complete path to your Blackberry JDE directory?
:: get jad and jar locations
set /p sve=enter the complete path where your jad and jar files are located:
:: get the name of the jad and jar files
set /p jar=what is the name of your jar file?
:: copy jad and jar files to the jde directory
xcopy "%sve%\%jar%.jad" "%jde%\bin\"
xcopy "%sve%\%jar%.jar" "%jde%\bin\"
::create the cod files
cd /d "%jde%/bin"
rapc import="%jde%\lib\net_rim_api.jar" codename=%jar% -midlet jad=%jar%.jad %jar%.jar
:: move the cod file to the jad and jar directory
move "%jde%\bin\%jar%.*" "%sve%\"
:: change to the new directory
cd /d %sve%
:: create the new alx file
echo ^<loader version="1.0"^> >%jar%.alx
echo ^<application id="%jar%"^> >>%jar%.alx
echo ^<name^>%jar%^</name^> >>%jar%.alx
echo ^<description^>%jar%^</description^> >>%jar%.alx
echo ^<version^> ^</version^> >>%jar%.alx
echo ^<vendor^> ^</vendor^> >>%jar%.alx
echo ^<copyright^> ^</copyright^> >>%jar%.alx
echo ^<fileset Java="1.0"^> >>%jar%.alx
echo ^<files^>%jar%.cod^</files^> >>%jar%.alx
echo ^</fileset^> >>%jar%.alx
echo ^</application^> >>%jar%.alx
echo ^</loader^> >>%jar%.alx
It will ask you for the complete path to the JDE directory which will be something like:
C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0
Then it will ask for the directory to where your .jar and .jad files are.
Then it will ask you for the name of the jad and jar files. They should have the same name. Enter the name without the .jad or .jar extension.
Let me know how it goes.
it only makes the axl files doen'st make the COD
didn't work for me i tried it for like 2 hours anyone can give me better intructions pelase