How to convert your MIDP application for the BlackBerry
If you have MIDP application’s jar file and jad file, they can be converted to BlackBerry installable file (.cod).
- Install appropriate JDE from http://java.sun.com/.
- Install BlackBerry JDE Component Package from BlackBerry Java Development Environment page.
- Setup PATH environment to ‘bin’ sub-directory of JDE installation folder.
Run following command on Windows command prompt to create ‘cod’ file.
rapc import=%JDE%\lib\net_rim_api.jar codename=midp_appli -midlet jad=midp_appli.jad midp_appli.jar
Please replace %JDE% with JDE installation folder or move net_rim_api.jar to current folder.
You also need to create ‘alx’ file. Sample alx file contents as follow.
<loader version="1.0"> <application id="midp_appli"> <name>midp_appli</name> <description>midp_appli</description> <version>1.0</version> <vendor>Pigtail Software</vendor> <copyright>Copyright (C) 2010 by Pigtail Software</copyright> <fileset Java="1.0"> <files>KKJConv.cod</files> </fileset> </application> </loader>
Recent Comments