aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "MIDlet Addressbook Friendly User Interface" Watch "MIDlet Addressbook Friendly User Interface" New topic
Author

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 ?
Thanks


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
Greenhorn

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.
 
 
subject: MIDlet Addressbook Friendly User Interface