Questions tagged [lcdui]

user interface package in Java ME MIDP API

Java ME MIDP-specific classes used for the GUI.

Find below references to API documentation, tutorials, popular libraries.

API reference

tutorials

  • MIDP user interface - JavaWorld

    This article covers mobile phone UI development using the MIDP APIs... The topics in this article are as follows:

    • The design of the MIDP UI API: covers the overall design of the LCDUI API, including the distinction between the high-level and low-level APIs. We introduce the common display and UI event models for all LCDUI Screen and Canvas classes.
    • The low-level API: covers the pixel-based API. We discuss how to draw on the Canvas and how to handle keypad events. A useful example illustrates how to add animation functionality to Canvas applications...
  • J2ME Tutorial: User Interfaces with MIDP 2.0 | Java.net

    Introduces MIDP User Interface Architecture, working with the High-Level and Low-Level API, Handling User Commands

  • Getting Started With the MIDP 2.0 Game API

    This article reviews MIDP 1.0's limitations for game programming, then presents a quick introduction to the MIDP 2.0 Game API.

  • J2ME Tutorial: Exploring the Game API of MIDP 2.0 | Java.net

    A long-winded but comprehensive look at the gaming API of MIDP 2.0. Explains how to use the classes of this API using a full-fledged example and also the basics of game building.

  • MIDP Event Handling

    Learn how to handle high-level (such as selecting an item from a list) and low-level (such as pressing a key on the device) MIDP events with easy-to-understand examples.

  • Networking, User Experience, and Threads

    This article explains how your MIDlet can make network connections without compromising your user interface. It includes six iterative examples that illustrate multithreaded networking and the use of a wait screen.

  • Customizing Forms With CustomItems

    This article demonstrates the MIDP 2.0 custom item capabilities by building a simple outliner MIDlet.

popular libraries

  • LWUIT - widget-based UI library for J2ME enabled mobile devices
    learn more at lwuit tag wiki

  • J2ME Polish - a suite of tools and technologies for Java ME development
    learn more at j2mepolish tag wiki

262 questions
-2
votes
1 answer

LCDUI to LWUIT conversion, Can anyone convert this code to LWUIT working format?

can this code in the following link http://j2mesamples.blogspot.in/2009/03/start-application-using-pushregistry.html be converted to LWUIT format? Because I created a sender application in LWUIT format, and now, I don't want the receiver to be in…
user1099129
-2
votes
1 answer

Draw string on the center of the header image

I am creating a login screen and I want to add an header to the form and write text on the center of the header image. I am able to draw the header using ImageItem in j2me. But I am stuck up with writing the text on the header.
AndroGeek
  • 1,280
  • 3
  • 13
  • 25
-2
votes
2 answers

How can I show dialog box on canvas in J2ME mobile application?

Possible Duplicate: Is this possible to use lwuit.Dialog with javax.microedition.lcdui.Canvas in wireless toolkit 2.5.2? I created a canvas to write contents when I press mobile keys(for Example if I press "A" it will be written on the screen…
Shankar
  • 13
  • 1
  • 6
-2
votes
2 answers

J2ME - java.lang.nullPointerException

getting NullPointerException on this part of code, public RunningManCanvas(RunningMan midlet) throws Exception { super(true); System.out.println("ERROR"); theDisplay = Display.getDisplay(midlet); theRunningMan = midlet; //…
mussi89
  • 99
  • 1
  • 3
  • 10
-2
votes
2 answers

Wrap text on Canvas in J2ME

I am going to develop j2me application. I want to know, how i can wrap text on canvas according to screen width size in J2ME.
Nilesh
  • 167
  • 3
  • 15
-2
votes
1 answer

Java ME help displaying calendar canvas from Nokia tutorial

I've been following below tutorial on how to create a calendar widget in Java ME. I can't seem to get it to work. When I run the application it just says it's running in the background. I guess I'm not initializing it properly. Where exactly to put…
Skeng
  • 147
  • 3
  • 11
-3
votes
2 answers

Graphics g calling

In my application I have 1 jar file which I imported in my project. Now I want to access one method of the class (jar file) which contains arguments Graphics(g). I want this method to be accessed in the startApp() of my application, but I can't…
subbu
  • 146
  • 2
  • 8
1 2 3
17
18