Friday, 28 November 2014

Convert Jad To Cod

Third-party mobile phone applications, known as midlets, come in the JAD and JAR formats. These file formats cannot be loaded onto a BlackBerry device, meaning you must convert them into a BlackBerry-compatible format if you want to use them. The RIM Java Developer Environment comes with the RAPC utility, which lets you convert these files into the BlackBerry-compatible COD format using the computer's Command Prompt command line interface.


Instructions


1. Open a Web browser and navigate to "Blackberry.com/developers." Click the "Java" icon, followed by the download link for the RIM Java Developer Environment to download the install file.


2. Double-click the install file and follow the onscreen instructions to install the RIM Java Developer Environment onto the computer.


3. Click the "Start" button in the computer's taskbar and select the "Computer" option. Double-click the "C:\" icon, followed by the "Program Files" folder.


4. Double-click the "Research in Motion" folder, followed by the "BlackBerry JDE X.X" folder where "X.X" is replaced with your JDE version number. Double-click the "bin" folder, then drag the JAD file that you want to convert into the "bin" folder.


5. Click the "Start" button and select "All Programs." Click the "Accessories" option, followed by the "Command Prompt" option to open the Command Prompt window.


6. Type "rapc import="c:\Program Files\Research in Motion\Blackberry JDE X.X\lib\net_rim_api.jar" codename=name -midlet jad=name.jad" in the Command Prompt window. Replace "X.X" with your JDE version number and replace "name" and "name.jad" with the name and filename of the JAD file, respectively.


7. Press the "Enter" key to execute the command. Upon executing the command, the JAD file will be converted into a COD file and saved in the "bin" folder.

Tags: Command Prompt, Developer Environment, Java Developer, Java Developer Environment, your version number, BlackBerry-compatible format