wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes MIDlet Addressbook Friendly User Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "MIDlet Addressbook Friendly User Interface" Watch "MIDlet Addressbook Friendly User Interface" New topic

MIDlet Addressbook Friendly User Interface

Vince Hon
Ranch Hand

Joined: Feb 11, 2003
Posts: 117
Hi, everyone.
I am now writing a MIDlet for addressbook. I have a question about the user interface :
Assume in the phone display, I have the list of the addressbook, e.g.
| Alice |
| Bonnie |
| Barry | <----- mobile phone screen
| Louis |
| Mandy |
exit detail
I want to :
when the user presses the "A" button on the keypad, "Alice" will be highlighted, and when the user presses the "L" button, "Louis" will be selected . So that, it can allow the user to find the people quickly.
Are there any API to make it possible ?

Vince Hon<br /> <br />SCJP 1.4 | SCWCD | SCBCD <br /><a href="http://vincehon.homeip.net:8000/VJW" target="_blank" rel="nofollow">http://vincehon.homeip.net:8000/VJW</a>
Neil Stamps

Joined: May 23, 2003
Posts: 5
There is no direct API for this - however, if you go for managing all of the display yourself using a canvas, you can capture the key presses and react appropriately. At MIDP 2.0 you can have custom items which will allow this sort of functionality in a much slicker fashion.
I agree. Here's the link: http://aspose.com/file-tools
subject: MIDlet Addressbook Friendly User Interface
Similar Threads
event handling
Problem with Jtable
change text of a label everytime when same button is pressed
Logout when exit
Usage of MIDlet