October 29th, 2006
In the tutorial Using Sprint MIDP 1.0 Extensions, we examined the use of sound APIs to play QCELP-encoded sampled sounds. This time, we will cover how to create our own sampled sound files for use in a MIDlet.
(more…)
Posted in Java ME Development | No Comments »
September 4th, 2006
In a polished application, you usually want to display a title screen or splash screen before the user sees the main screen of the game or application. In this tutorial, we will build a simple application that demonstrates how to display a title screen.
(more…)
Posted in Java ME Development | No Comments »
August 27th, 2006
My latest game, Galactic Attack is now available to the public. Galactic Attack is a fast-paced space shooter game for cell phones and Java-enabled mobile devices. Visit the Galactic Attack page for more information, game instructions, and free download.
Posted in Announcements | 1 Comment »
July 16th, 2006
There are times when you will want your MIDlet to be able to store data that is persistent across multiple executions of the application. In the context of video games, for example, you may want to save the high scores, or retain the game state so that the player can continue later. In this tutorial, we will look at how to use a component of MIDP called Record Management System, or RMS, as a means of storing persistent application data.
(more…)
Posted in Java ME Development | No Comments »
July 5th, 2006
Java ME supports several input mechanisms. In a previous tutorial, we looked at the high-level commands as a means of accepting input from the user. This time, we will look at low-level key events, which are handled through the keyPressed() and keyReleased() methods. We will also look at how to use these methods in a highly interactive game or application.
(more…)
Posted in Java ME Development | No Comments »
June 29th, 2006
I’ve added a new category for camera phone pictures. This is where I will post humorous or interesting pictures I’ve taken with my camera phone. More will be added as I acquire them. These were all taken using a Sanyo PM-8200.
(more…)
Posted in Camera Phone | No Comments »
June 27th, 2006
Vendor-specific APIs are useful when you need to take advantage of functionality not available in the core MIDP APIs, and you don’t mind locking your application into a single platform. I happen to have a Sprint cell phone, so we will use this as our vendor-specific example in this tutorial. First, we will learn how to use the Sprint Wireless Toolkit 3.0 platform and emulators in NetBeans IDE. Then, we will then use the Sprint MIDP 1.0 Extensions to create a MIDlet that plays sound on a Sprint PCS cell phone with only MIDP 1.0 support and no MMAPI support.
(more…)
Posted in Java ME Development | 4 Comments »
June 18th, 2006
Any MIDlet, in order to be useful, will need to accept some form of input from the user. In this article, we will look at a common form of input for MIDlets, commands. We’ll also create a sample MIDlet that responds to the corresponding events.
(more…)
Posted in Java ME Development | No Comments »
June 10th, 2006
In this tutorial we will look at using threads in a Java MIDlet. We will create a run() method that implements some simple background logic, create a thread for that logic, and control the thread in the life cycle methods of the MIDlet.
(more…)
Posted in Java ME Development | No Comments »
June 4th, 2006

An updated version of Simple Game Map Editor was released today. Simple Game Map Editor is a cross-platform desktop application for editing tile map data, specifically written with game programming in mind. It includes an easy-to-use extension API which can be used to generate map data for your Java ME games. This is the tool that was used to generate the maps for Sinfah’s Lair. For more information, visit the Simple Game Map Editor home page.
Posted in Announcements | No Comments »