English

How To: Develop and deploy applications for J2ME-enabled wireless devices

Summary

Instructions provided describe how to develop and deploy applications for J2ME-enabled wireless devices.

Procedure

The ArcWeb Mobile Toolkit allows developers to build applications for Java-enabled handheld devices that incorporate data and functionality available through ArcWeb Services. The ArcWeb Mobile Toolkit is an open Application Programming Interface.

This article covers the general steps for developing and deploying applications for J2ME-enabled wireless devices.

  1. Start by selecting a development environment. The application is typically developed on a desktop platform using one of several development toolkits currently available that make application development easy.
  2. Write the application using J2ME UI libraries and the ArcWeb Services Mobile Toolkit. The ArcWeb Services online help system includes downloadable samples, which can help with familiarity of using the Mobile Toolkit's API.

    Note:
    The downloadable samples are designed to run in the development toolkit's emulator environment and are not designed to run on actual devices. The emulator environment is best for development and initial testing, because the emulator is using the desktop machine's resources. Wireless devices have significantly fewer resources to work with, so testing on an actual wireless device is imperative as well. See step 4 below.

  3. Test deploying the application to a wireless device using the development toolkit’s available tools. Deployment most often involves making the .jad and .jar files available by way of a Web server. This testing is also done in the emulator environment.

    Note:
    The .jad and .jar files are created by the development toolkit when the application is built.

  4. Deploy the application to an actual wireless device. The device must be connected to a wireless Internet network, and it must support J2ME MIDP 2.0.

    There are two application deployment options:

    Option 1: Download the application directly to the device from a desktop machine using a data cable connection. Different devices have different tools to help deploy applications in this manner.

    Option 2: Remotely deploy the application to the device using Over-the-air provisioning. Use this option to deploy commerical applications to customers' devices.

Related Information