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
0
votes
1 answer

I can't set background in Midlet

Some people say you can't set background in Midlet and use canvas. I used canvas mode and search for add TextFiled I can't do it because canvas is low level UI and drawing textfield Can help me for set background in Midlet without Canvas?
amin
  • 289
  • 4
  • 17
0
votes
1 answer

J2ME PIM EVENTS

I'm currently developing a J2ME application event manager. I'm using PIM but I don't have enough knowledge on this. Can someone help me or give me references on how to set in displaying, editing and deleting records? Here's what I've done so far. …
drayl
  • 261
  • 2
  • 8
  • 21
0
votes
1 answer

How to Decrease the Font of a Text on LCDUI List and Form

I have a LCDUI List Screen Contains Title and Image from Rss File myList.append(Rss.getTitle(),Rss.getImage()); I have one Detail Form :on which i am able to display publish date and one hyperlink form Rss File …
String
  • 3,660
  • 10
  • 43
  • 66
0
votes
1 answer

How to display Image on the List and Form Screens in j2me (java)

I want to display an Image on LCDUI List Screen Header and form Screen Header(Top) when we create a List like this List list=new List("Title",List.Implicit); then will see the title on the List Screen Header(on Top),similarly for Form also But…
String
  • 3,660
  • 10
  • 43
  • 66
0
votes
1 answer

Using event in j2me canvas forms?

I'm a dot net developer. And recently forced to do something in j2me. We have app in j2me for working with SMS-Text-Message and make different UI based on these sms. In this app form create manually with Canvas. There are several operations (which…
Rev
  • 2,269
  • 8
  • 45
  • 75
0
votes
4 answers

J2ME TextField Exception

When I instantiate a textField, I have a number in it that I want to be the default text. The problem is, I can't seem to be able to place that value into the textfield without getting an error. The strange thing about it is that the same…
Bob
0
votes
2 answers

select multiple contact from the phonebook in j2me

This is my code for selecting the contact number from the phonebook. I'm able to search and select the contact number from the mobile phone contact list. But, I want to select multiple contacts and add them in the textfield. tb2 = new TextField("To:…
user918477
0
votes
2 answers

Multiple instances of j2me midlet problem

I have a j2me midlet running on a cell phone. The code works fine, but the issue that comes up is that the program seems to be running more than one instance of itself. I have code at the beginning of the application inside the appStart() method…
CodeMonkey
0
votes
1 answer

How to make grid view in j2me

I am very new in j2me. I want to design following type layout and components. Mean I want to arrange my items in gridview. And after clicking on each item I will move to another form. I am using simple lcdui. Please suggest me how can I do this.…
Pushpendra Kuntal
  • 6,118
  • 20
  • 69
  • 119
0
votes
2 answers

I want to add a progress bar in j2me application

I want to add a progress bar in j2me application that shows the busy process. I am doing this using alert adding gauge as indicator but it disappears on button click.
Andy
  • 643
  • 5
  • 17
0
votes
2 answers

J2ME TextField in a Vector?

I want to have a Form that can Add or Delete TextFields. I was so far creating an array and resizing (actually copying original array to a new, larger array), then deleting all form elements, and adding everything again + this new array of…
SmRndGuy
  • 1,719
  • 5
  • 30
  • 49
0
votes
0 answers

J2ME - Display Alert from a background thread

I have an application that is suspended, and even when it is suspended a thread is working to get some data. What I want to do is, while a user is using the phone for other thing, to display an alert because new data was found, and when I click a…
Maximiliano Poggio
  • 1,162
  • 10
  • 23
-1
votes
2 answers

Desigining a Form in j2me

I am trying to design a Form in J2ME without the use of Canvas class which has List like structure and an image as a Header. I want to add command button (OK) So by clicking on it ... i can choose a particular item in list and get navigated to…
Yatin
  • 2,969
  • 9
  • 34
  • 68
-1
votes
3 answers

Can I use canvas and form together in a application

Can I use Canvas and form together in application? If yes then how can I access form from Canvas?
Abhishek
  • 39
  • 2
-1
votes
1 answer

Java ME: How to display the output of a simple calculator?

I'm making a calculator using Java ME. I'm having a hard time displaying the output. Here's my code: public void menuadd(){ vswitch=2; Form formadd = new Form("addition"); add1 = new TextField("1st Number:", "", 30, TextField.DECIMAL); …
drayl
  • 261
  • 2
  • 8
  • 21
1 2 3
17
18