Results 1 to 8 of 8

I dont know if this method has been documented but this way will allow you ... BlackBerry Pearl forum

  1. #1
    miller420's Avatar
    miller420 no está en línea Stack level 1
    Join Date
    Nov 2006
    Posts
    2

    Figured out how to put cod files on through Desktop Manager

    Advertisement



    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.
    from blackberry

    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.


    <loader version="1.0">
    <application id="Zelda">
    <name >
    Zelda </name>
    <description >
    Zelda </description>
    <version >
    1.0 </version>
    <vendor >
    Zelda
    </vendor>
    <copyright >
    Copyright (c) 2006 Zelda
    </copyright>
    <fileset Java="1.5">
    <directory >

    </directory>
    <files >
    Zelda.cod

    </files>

    </fileset>

    </application>

    </loader>

    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
    miller

  2. #2
    Rcbjr's Avatar
    Rcbjr no está en línea Stack Pro
    Join Date
    May 2006
    PIN/ID
    PM - Ask
    Posts
    14,848
    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.

    Rcbjr
    You Ask, We Will Answer
    Can’t Install theme via DM?No Additional Apps Found for Your Device
    Links to Usefull KB Articles

  3. #3
    Dru100's Avatar
    Dru100 no está en línea Stack level 1
    Join Date
    Jan 2007
    Posts
    12

    Re: Figured out how to put cod files on through Desktop Manager

    this method is alittle confusing can it be any simpler? or more detailed

  4. #4
    bbriand's Avatar
    bbriand no está en línea Stack level 3
    Join Date
    Jan 2007
    Posts
    170

    Re: Figured out how to put cod files on through Desktop Manager

    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???

    Bill

  5. #5
    tonyu's Avatar
    tonyu no está en línea Stack level 2
    Join Date
    Mar 2007
    Posts
    24

    Re: Figured out how to put cod files on through Desktop Manager

    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!!

  6. #6
    b_d0za's Avatar
    b_d0za no está en línea Stack level 3
    Join Date
    Mar 2007
    Posts
    314

    Re: Figured out how to put cod files on through Desktop Manager

    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.

    https://www.blackberry.com/Downloads...359F4AE7BD7BA1


    Copy and paste the following text into notepad and name it filename.bat and double click it.


    @echo off
    cls
    :: get jde location
    set jde=
    set /p jde=what is the complete path to your Blackberry JDE directory?
    echo.
    :: get jad and jar locations
    set sve=
    set /p sve=enter the complete path where your jad and jar files are located:
    echo.
    :: get the name of the jad and jar files
    set jar=
    set /p jar=what is the name of your jar file?
    echo.
    :: 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"
    pause
    rapc import="%jde%\lib\net_rim_api.jar" codename=%jar% -midlet jad=%jar%.jad %jar%.jar
    pause
    :: move the cod file to the jad and jar directory
    move "%jde%\bin\%jar%.*" "%sve%\"
    pause

    :: 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
    pause
    :end

    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.

  7. #7
    luigitoosmooth's Avatar
    luigitoosmooth no está en línea Stack level 1
    Join Date
    Jul 2007
    Posts
    9

    Re: Figured out how to put cod files on through Desktop Manager

    it only makes the axl files doen'st make the COD

  8. #8
    luigitoosmooth's Avatar
    luigitoosmooth no está en línea Stack level 1
    Join Date
    Jul 2007
    Posts
    9

    Re: Figured out how to put cod files on through Desktop Manager

    didn't work for me i tried it for like 2 hours anyone can give me better intructions pelase

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •