Technical Articles and Tips

is an article that outlines the new features and APIs in the latest version of the Sun Java Wireless Toolkit. You'll learn about the toolkit's support for the Location API, SATSA, and the Content Handler API. Read the article to learn how you can create MIDP applications that discover their location, communicate with smart cards, respond to specific content types, and more.
System This article is the first in a series that will explore RMS and the larger issues surrounding its use in MIDP applications, such as interacting with external data sources like relational databases. We'll start by exploring what RMS has to offer and writing some simple RMS debugging aids.
This article explores the socket support in the Generic Connection Framework (GCF) by building a small and simple terminal emulator that implements the telnet protocol.
gives us his insights into both the history and the future of J2ME, and more.
This article starts by describing reasons for reducing the size of wireless Java applications, discusses problems that arise out of using class libraries, then presents some useful techniques for reducing application size without sacrificing quality.
Blogging is a popular method for web publishing. This article describes the mechanics of blogging and explores the possibilites for creating blog content from mobile devices.
A cornucopia of MIDP emulators reflects the abundance of MIDP devices available. This article surveys the current crop. Although some emulators are designed for demonstrating MIDP applications to prospective users, the emulators in this article are specifically for developers, to help them test applications.
You can develop MIDlets on Apple's OS X. This article shows you the tools you need and gets you started with a simple MIDlet that you can build and test on OS X.
J2EE Client Provisioning is a specification (JSR 124 in the Java Community Process) that aims to provide a framework and APIs for using J2EE to download applications and other content to a variety of clients. Provisioning includes hosting application client code and associated resources on a server, discovery and selection of suitable applications by the client, and transfer and delivery of the selected applications to the client platform.
The demo application readme for the Integrated Java Technology for End-to-End m-Commerce.
One of CLDC's innovations is the Generic Connection Framework, a flexible approach to networking. This article explores the GCF in detail, describing both its place in the Java world and details about its use.
Learn how to use the Mobile Media API to capture pictures in a MIDlet.
In this article, you'll learn how to set up a Java servlet development environment, either Tomcat or the J2EE Reference Implementation server. You'll write a servlet and create a MIDlet that makes a network connection to the servlet.
This article gives an overview of the J2ME Wireless Connection Wizard for Sun One Studio which facilitates the creation of networked wireless applications and services by automating significant parts of the development process.
JSR 185 describes a wireless Java application environment, the successor to MIDP 1.0. Based on MIDP 2.0, WMA, and MMAPI, JSR 185 specifies a highly capable application environment with an emphasis on application portability. This article describes the JSR 185 specification.
This article provides a technical overview of MMAPI's architecture and APIs, followed by a tutorial in which sample code demonstrates how MMAPI can be used to build multimedia-rich wireless Java applications. A complete media player is developed, and steps for testing it are provided.
This article provides a brief overview of the Java APIs for Bluetooth Wireless Technology (JSR 82), and shows you how to use these APIs
This article provides an overview of the MIDP 2.0 CLDC Generic Connection Framework, and examines the new support for sockets and datagrams.
Version 2.0 of the J2ME Wireless Toolkit offers many new features and improvements to wireless developers. One new feature is support for the Wireless Messaging API (WMA). The toolkit's new WMA Console provides a complete development and testing environment for WMA-based applications.
This Tech Tip shows how to use the Dynamic List/Detail View design pattern as a tool for creating effective user interfaces on small devices.
This article describes the basic understanding of how to use threads for effective J2ME applications.
This article introduces the MIDP 2.0 push registry which manages network and timer initiated MIDlet activation.
This article describes the new features in the J2ME Wireless Toolkit 1.0.4.
How to use Apache Ant for managing the J2ME/Midlet build process
This article describes how to handle high-level and low-level midp events with easy-to-understand examples.
This tech tip shows how to use "Run via OTA" feature in the J2ME Wireless Toolkit version 2.0 to test the deployment of MIDlets in an Over-the-Air Provisioning environment.
This article introduces the use of the Sun Open Net Environment (Sun ONE) as a platform for building m-commerce solutions that integrate easily with your existing systems and with future add-ons. A working example application and detailed installation instructions are included.
This tutorial describes setting up MIDP development tools and creating your first MIDlet.
This tech tip shows how to use the MIDP 2.0 CustomItem widget to develop new custom form elements.
The J2ME Wireless Toolkit 2.0 includes numerous new features that support building and testing MIDP 2.0 applications. This article describes the new features and includes practical examples.
This article will cover the Wireless Messaging API (WMA) in detail. Defined in the Java Community Process (JCP) by JSR 120, the WMA provides a common API for sending and receiving text and binary messages - typically of store-and-forward types, such as Short Messaging Service (SMS) messages.
Describes an end to end Java application. Includes code downloads and detailed instructions.
On occasion, you may wish to extract information from a page of HTML on a web site, in a procedure commonly called page scraping. The code presented here parses an HTML page inside a servlet or directly from a Mobile Information Device Profile (MIDP) application.
One of MIDP 2.0's new features is a Game API which simplifies the task of writing 2D games. This article describes the two components of the Game API, a layer-based animation framework and a new Canvas subclass that is useful for game loops.
This article introduces the basics of developing J2ME applications using the Bluetooth radio frequency technology.
This article presents an overview of Short Message Service (SMS) which is a out-of-band packet delivery and low-bandwidth message transfer technology.
This article provides an overview of JSR 124: J2EE Client Provisioning. Often referred to as vending machines, provisioning portals provide an easy, centralized mechanism for deploying applications to a variety of client platforms.
This article describes MIDP 2.0's new security architecture. It covers protection domains, permissions, and MIDlet code signing.
This article provides an overview of the JSRs related to the CLDC and the MIDP now under way, and provides an eye-opener to wireless Java developers who want to know what the future of wireless Java technology holds.
This article explores what optional packages are and how they're used.
This article describes techniques MIDlet clients and servers can use to authenticate themselves.
This article describes the behaviors of garbage collection for the real time applications found in the telecommunications industry.
This article describes the ability to download and install content over a wireless network, typically on demand.
This article describes the 4 different application life-cycle models supported by J2ME.
This article helps you test your wireless applications.
This article highlights the new features in the MIDP 2.0 specification.
The Wireless Application Protocol (WAP) is an open specification that addresses wireless network characteristics by adapting several data-handling approaches already in use by Web protocols, and introducing new ones, where appropriate, to the special requirements of handheld wireless devices. The reuse of existing Web technologies eases the development of WAP applications, and make it similar to developing HTML-based Web applications since it is browser-based.
This article shows the different ways you can download local and network applications to J2ME-enabled devices, for both testing and final deployment.
This article describes SSL and TLS and their implementation in MIDP.
This article is the first in a series of four describing security and cryptography in MIDP.
As Java technology becomes more and more pervasive in the telecommunications (telco) industry, understanding the behavior of the garbage collector becomes more important. Typically, telco applications are near-real-time applications. Delays measured in milliseconds are not usually a problem, but delays of hundreds of milliseconds, let alone seconds, can spell trouble for applications of this kind. Quite simply, sub-optimal performance translates directly into loss of revenue.
This article provides a brief overview of JXTA and the JXTA for J2ME project. Detailed instructions for downloading the release and running the demos are included.
Secure Java MIDP Programming describes the challenges and solutions to make m-commerce applications enabled for encryption, authentication, and secure communications protocols.
Wireless Software Design Techniques describes what every developer needs to know when building applications for small devices.
Overview of parsing XML in MIDP
This article describes how to convert a midp application for cell phones to the palm os.
This article describes how to convert a MIDP application for cell phones and palm os.
How to display a wait screen during network activity
Describes HTTP session handling with servlets and MIDlets
The Mobile Information Device Profile (MIDP), which is built on top of the Connected Limited Device Configuration Profile (CLDC), allows you to develop wireless Java applications that can be downloaded over the air from open networks. Once downloaded, they can run on the user's device. Should the user be worried about security issues, such as corrupting the cellular phone, deleting data from the device, or transferring data to a remote server? This article explains wireless Java security issues and solutions.
This article compares j2me and wap, covers the benefits of xml technology for extending a client-server infrastucture, and how j2me facilitates the growth of wireless portals.
This article describes how to develop an application using non-graphical user interface components, and how to convert and store data to the midlet record store
This article shows you how to make http connections from a midlet by invoking servlets and cgi scripts, and presents session tracking techniques for a wireless environment.
This article presents an overview of the j2me platform configurations, and which j2se Java virtual machine features are supported by the kvm, what classes have been inherited from j2se by the cldc, and what classes have been added to the cldc.
This article shows how the Brazil server transmits weather data to wireless clients, and how how to develop wireless applications with minimal programming on the server.
This article describes how to use the midp record management service to store and retrieve data between midlet invocations.
Handheld devices have their own user interface requirements in terms of space and memory. This article explains the intricacies with some good examples.
This article introduces you to the details of the generic Connection framework used in midp, and shows you how to develop network applications using that framework.
This article describes how to take midp programming to the next step by learning how to add commands, icons, and a running ticker to a simple application. Also covered are testing and packaging.
Having difficulty getting your software installed and configured on the Windows platform? This article provides the help you need.
Learn how to use the J2ME Mobile Information Device Profile (MIDP) to write wireless applications that run in mobile phones and two-way pagers.

Left Curve
Popular Downloads
Right Curve
Untitled Document
Left Curve
More Systems Downloads
Right Curve