my dog learned polymorphism
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
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="" target="_blank" rel="nofollow"></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:
subject: MIDlet Addressbook Friendly User Interface
It's not a secret anymore!