Archive for the ‘BlackBerry’ Category

How to convert your MIDP application for the BlackBerry

April 25th, 2010 No comments

If you have MIDP application’s jar file and jad file, they can be converted to BlackBerry installable file (.cod).

  • Install appropriate JDE from
  • 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">
<vendor>Pigtail Software</vendor>
<copyright>Copyright (C) 2010 by Pigtail Software</copyright>
<fileset Java="1.0">
Categories: BlackBerry, Programming Tags: