J2me Archive

J2ME Guide – Part 8

As is well known, the number of devices on the market, and their features, are growing continuously; every now and then a new mobile phone or a PDA is launched on the market. At first, a mobile phone was employed just to make and to receive voice calls. Now, our device is a powerful object

J2ME Guide – Part 7

Until now we’ve learned how to create GUIs for our device applications using Low and High level APIs, which are at the base of every MIDlet application. Another fundamental feature we need to learn is the way our device communicates to the world using some kind of connection. For instance, we can think about an

J2ME Guide – Part 6

The word security has many meanings; the need to hide personal information, user authentication and data encryption are all subjects related to the security topic. We can think, for instance, about what would happen if we download a malign midlet that, at a certain time, starts sending SMS messages to a specific phone number giving

J2ME Guide – Part 5

After reading the first four modules we are now able to create a MIDlet managing its own GUI using HIGH and LOW level APIs. In this module we’ll talk about memory management, a very important feature of small device applications. We’ll deal with two types of memory: - Volatile memory - Non-volatile memory (persistent memory)

J2ME Guide – Part 4

In the third module we studied how to create midlet user interfaces using the high level API. We learned that, using that API, we can develop portable GUIs delegating to the underlying device the creation of specific widgets such as Lists, TextFields and so on. We stated that if we need more control over the

J2ME Guide – Part 3

In the first two modules we dealt with MIDP 2.0 fundamental concepts and we started programming a simple MIDlet. We talked about the midlet-device interaction lifecycle and we developed a simple application. In this module we’ll dive into MIDP 2.0 programming, beginning with the high level API for midlet GUI creation. This is an important

J2ME Guide – Part 2

In the first module we introduced MIDP2.0 fundamental concepts. We talked about Configuration, Profile and Optional Packages. In this module we start programming our first midlet and studing the midlet lifecycle in detail. We’ll end with some useful methods in order to create a simple Alert MIDlet. From now on, with midlet we’ll refer to

J2ME Guide – Part 1

This is the first module of a guide about MIDP programming with the J2ME environment. In this first part we’ll introduce configuration and profile, fundamental concepts that are very important for understanding MIDP. After that we’ll install the WTK 2.5 that is the toolkit for creating, developing and testing your application to be used on