back to j2megame.org

Nokia UI API v1.1

These APIs provide Nokia UI extensions, which are implemented in Nokia MIDP Platform, i.e., in Nokia Java devices supporting Mobile Information Device Profile.

See:
          Description

Packages
com.nokia.mid.sound Provides an API for simple audio capabilities
com.nokia.mid.ui Contains some graphics-related extensions for MIDP low-level UI APIs, such as Graphics and Canvas.

 

These APIs provide Nokia UI extensions, which are implemented in Nokia MIDP Platform, i.e., in Nokia Java devices supporting Mobile Information Device Profile.

Overview

A major use of Java in mobile devices would be entertainment, more specifically games. Games often need low-level access to device HW like keys and display. MIDP was designed to be HW-independent, so there is no support for this kind of low-level access. Here we will define a few MIDP implementation aspects and API extensions that enhance the developer's capability of delivering good games for Nokia devices. Some of these features may also be used in different kinds of application domains. The following features are supported:
  1. Low level access to image pixel data
  2. Transparency support
  3. Full screen drawing
  4. Sound
  5. Vibration and device lights control
Currently, Nokia UI API has two packages that contain classes and interfaces for providing the above features: com.nokia.mid.ui and com.nokia.mid.sound.

MIDP 2.0 introduced many features, which before existed only in Nokia UI API. Hence, MIDP APIs should be used instead of Nokia UI APIs when ever a corresponding feature is available. Especially those Nokia UI API methods with deprecation tags should not be used in devices supporting MIDP version 2.0 or higher.

Since:
1.0

forum.nokia.com/java

Copyright (c) 2002-2004 Nokia Corporation. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.