Form.addCommand();-> How to specify which softkey to be mapped ?
Hi.
Just curious, but is it possible to specify which softkey (left or right) to be mapped to certain command?
For example, my Motorola K1 always mapped the command to the left softkey before the right one. It's not a problem but for some reason, if I want to use only the right softkey, is it possible to do so ?
Or we have no choice but to let the different handsets map the keys for us?
Oh, and this question apply to the legal 'Form' and 'Command' supplied with the MIDP 2.0 only, not any other custom form we made up.
Thank you. =)
[579 byte] By [
Kakyoina] at [2007-11-27 3:11:24]

# 2
Hi Jonney69.
Thank you for replying. =) I just tried adding only one command with the type BACK and it was mapped to the left softkey (on Motorola K1).
I know this may sound nonsense, but if for some reason, if I would like to add only 1 command to this form, and have it mapped to the right softkey, is it possible?
I tried every command types available and they all mapped to the left softkey. (on Motorola K1)
Thanks again =)
# 3
>
> I tried every command types available and they all
> mapped to the left softkey. (on Motorola K1)
>
This sounds really weird. Are u sure u have checked all the Command types? There must be some one which will be mapped to the RSK. Have u gave Command.CANCEL or Command.EXIT a chance!! If still its not working then I think u have to try with some device specific APIs. But I don't know if Motorola supplies any.
Regds,
SD
Message was edited by:
find_suvro@SDN