Esato

Forum > Sony Ericsson / Sony > Technical > MIDP commands T610

Author MIDP commands T610
ukchalky
K750
Joined: Jun 20, 2003
Posts: 69
PM
Posted: 2004-01-22 15:16
Reply with quoteEdit/Delete This PostPrint this post
I'm writing an application using Java on the t610, and I'm having a bit of a problem mapping screen commands to the correct softkeys.

I've read the documentation on SE's website, and they say that the commands are mapped according to their type and then their priority.

At the moment, every command i create gets appended to the 'More' button on the right softkey, no matter what type or priority i give it.

Can anybody give me any advice on how to map commands to the left soft key?

Cheers
ukchalky
K750
Joined: Jun 20, 2003
Posts: 69
PM
Posted: 2004-01-22 20:26
Reply with quoteEdit/Delete This PostPrint this post
Well i managed to solve my problem..

So if any of you have problems with this in future, here's what the problem was:

Sony Ericsson MIDP implementation creates a 'Select' command automatically whenever an IMPLICIT list is used, and places it on the display for you. The command generated is 'List.SELECT_COMMAND', and is mapped to both the joystick click and the left soft key.

So there is no need to put your own 'OK' or 'Select' command onto an implicit list screen. This confused me for a couple of hours, so hopefully now i can save someone else a bit of headscratching.
Access the forum with a mobile phone via esato.mobi