Programming Palm OS Applications Using Java MicroEdition

When I got my Palm Top, everybody was astonished: Why have a PDA with Windows Mobile? The answer is: Why not? Palm OS powers more than 40 million mobile devices. It is very easy to use and has a nice interface.

In this article, I want to help developers write applications in Java MicroEdition by sharing my experience. You really don't need me to learn how to write your Java code, but I spent a lot of time looking for the tools I need, so I can make this part easier for you.

First of all, the device needs java virtual machine for Palm OS, MIDP.prc.

The next step is to get some tools to transform the .java file into a .jad file and the .jad file into .prc files. I searched for the best freeware tools.

To transform the Java file into a .jad file, I successfully used KToolbar (J2ME Wireless Toolkit) tool (freeware), a very easy to use and documented tool. The advantage of this tool is obvious: The compilation and execution are realized in the same step. The tool has emulators included with some graphical interfaces.

There are some steps in using it:

  1. In apps folder of KToolbar, you have to create a folder with the same name as your application.
  2. The Java file must be copied in apps/[your new created folder]/src.
  3. From the menu, choose Project->Package->CreatePackage and the .jad file is created in the bin folder (apps/[your new created folder]/bin).

At this moment, you can transform the .jad file into a .prc file, by using the Converter tool:

You just need to choose the .jad file and this file is transformed into a .prc file.

The work is done. Now, the .prc file can be copied on your Mobile Device.

Easy isn't it?



About the Author

Daniela Ilea

.Net developer (MCP since september 2006) , passionate about mobile technologies. Lives in Timisoara, Romania

Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • On-demand Event Event Date: October 29, 2014 It's well understood how critical version control is for code. However, its importance to DevOps isn't always recognized. The 2014 DevOps Survey of Practice shows that one of the key predictors of DevOps success is putting all production environment artifacts into version control. In this webcast, Gene Kim discusses these survey findings and shares woeful tales of artifact management gone wrong! Gene also shares examples of how high-performing DevOps …

Most Popular Programming Stories

More for Developers

RSS Feeds