Browsing all articles in J2me

Some good news for Java developers: Java Verified has just released a new, cheaper test program for mobile applications: the Simple App Testing.

The new program will allow to test simple applications for an average cost of approximately 75 euros per app, slightly cheaper than the cost for standard test program.

But what’s a “simple app”? Here’s the definition, directly from the Java Verified website:

A simple application is defined as one which does not require midlet permissions.

There are three exceptions (where permissions are required but the app is still regarded as a simple app)

- A demo application or game that connects to a wapsite to upgrade to the full version.
- An application that has a connection to provide in-application advertising.
- An application that simply launches a browser session (formerly known as a stub application).

A bit restrictive to be honest, but it could be (with a bit of optimism) a good starting point for a more simplified, and accessible, testing and distribution model for Java apps.

Hi all, Here is my presentation on MobileAppliance.org an open source framework for serving remote functionality to J2ME and Android handsets.

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 that allows us to listen to music, to take pictures and videos and to browse the web. These multimedia capabilities couldn’t be ignored by the MIDP 2.0 designers, which had to design an open, simple but powerful framework to manage multimedia data. The problem was always the same: the device has a small amount of memory and a not very powerful CPU. As they did for the others classes, they decided to start from a subset of an existing API, the JMF (Java Media Framework). They had two alternatives to do that: Read more »

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 application connecting to a server in order to send or to receive emails; another – more sophisticated – example may be an application which collects GPS information data and then sends it to a server which plots the sender’s position on a map. The capability to connect to the external world is a fundamental feature in the MIDP 2.0 specifications. As we’ll see later, we can think about two different kinds of APIs for managing I/O connections that we can classify in: Read more »

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 away personal information about our agenda or other data stored in our device. In that case the damage affects both privacy and money. In this module we’ll talk about what the MIDP 2.0 specification tells us about security, and we’ll learn how to sign a MIDlet Suite to grant the execution of operations that usually the midlet may only run after a user confirmation. Then we’ll create a simple application and we’ll observe how it runs: our goal is to compare the behavior of a signed and of an unsigned application. Read more »

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) Read more »

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 device’s screen we need to use a different API – called Low Level API – which allows us to have complete control over the device at the cost of a portability loss. For instance, if we have to build a List using the High Level API we just create a List instance and then we add it to a Form. If we want the same result using the Low Level API, we have to manage list items and draw them on the screen using graphic primitives: lines, curves and rectangles must be painted using specific methods. In this case, of course, we need to know the screen dimension, then we have to choose the colors, draw list items and so on. Read more »

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 module since it covers the fundamental widgets we can use in a portable midlet application. It’ll be shown how to use these widgets by creating a simple midlet which simulates a user registration. Read more »

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 the application and with MIDlet (with uppercase MID)we’ll refer to the MIDlet class.

Read more »

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 real MIDP 2.0 devices.

Read more »

About MobileRevamp

The aim of this community is to share as much as possible information related to the mobile development using all the social networks and the new capabilities of the NET to make easier find updated contents and to create a deep feeling of connection between developers.

Photostream

IMG_0276IMG_0275IMG_0274IMG_0273IMG_0272IMG_0271

Updates

    Archives

    Recent Comments

    Adobe Mobile UGs

    Authors