At the end of our last lesson we completed the game menu interface for our Arkanoid game. One of the screens we didn’t create was the Game screen. Our goal is to produce a game screen like the screenshot bellow:

For the game screen we cannot use the high level ui elements because we need to have full control the way our game elements are draw and how to react to keypad events. In order to do this we need to use the low level interface classes available in J2ME.
Continue reading ‘Lesson 3 - Graphics’
Since the interaction with the user is a paramount concern in any mobile application, due to the size of the screens, it is important for you to understand the basics of this side of MIDlets. In this article, you will learn what user interface (UI) elements are available on a MIDlet and how to use them in creating a user Inteface for our Arkanoid clone.
Any interaction with a user is done via a UI element. In fact, when you created the simplistic Hello World MIDlet in part one, you used one such element called Alert to show a message on the screen. This message was actually shown on the screen by the help of another UI element called Display.
Let’s start with a discussion of the overall architecture of the UI elements. Continue reading ‘Lesson 2 – User Interface’
So you want to develop for your mobile phone? Say hello to Java Micro Edition. Java ME combines a small JVM and a set of Java APIs for developing applications for mobile devices.
This article is the first in a series where we are going to approach all the basics for developing an application for mobile phone using Java ME. The final goal of these tutorials is to develop a small Arkanoid clone (http://en.wikipedia.org/wiki/Arkanoid) and in the process learn all the base libraries, classes and methods available in Java ME:
- Midlet
- User Interface
- Canvas
- Storage
- Sound
- Networking
This time, after a quick introduction to the development tools, I will provide a step-by-step guide to creating your first Java ME application, also known as MIDlets.
Continue reading ‘Lesson 1 – Getting Started’