I'm using implicit List objects for my game's menu system, with either a single 'Exit' or 'Back' Command added.
On Siemens (MT50) and Nokia (3410,6310i) phones, a Select command is automatically added to the phone's Soft key which is great for 2 soft key phones as it presents the menu as:
-Sample1-
Menu 1
Menu 2
Exit Select
However on Motorola phones (v66i,T720), the Select command is not automatically added. I have therefore explicitly added a Select command in the code, which does make it appear on the Motorola phones. Unfortunatley this has the knock on effect of providing 2 Select commands on the Siemens and Nokia phones, giving 3 commands for only 2 softkeys, resulting in an Options softkey which then presents the 2 Select commands on a second screen:
-Sample2-
Menu 1
Menu 2
Exit Options
Here's my original sample with just the one Command added in code:
lstSettings = new List( "Settings", Choice.IMPLICIT );
lstSettings.append("Game mode",null);
lstSettings.append("Difficulty",null);
cmdSettingsBack = new Command("Back", Command.BACK, 1);
lstSettings.addCommand(cmdSettingsBack);
lstSettings.setCommandListener(this);
Here's my amended Motorola sample with two Commands added in code:
lstSettings = new List( "Settings", Choice.IMPLICIT );
lstSettings.append("Game mode",null);
lstSettings.append("Difficulty",null);
cmdSettingsSelect = new Command("Select", Command.ITEM, 1);
cmdSettingsBack = new Command("Back", Command.BACK, 2);
lstSettings.addCommand(cmdSettingsSelect);
lstSettings.addCommand(cmdSettingsBack);
lstSettings.setCommandListener(this);
The last sample is fine on Motorola but always gives me Options followed by 2 Select commands on other phones. I've also tried Command.ITEM, Command.OK, Command.SCREEN with similar results.
Seems a pity to have a separate Motorola version of my game for this reason alone.
Are any of you guys having similar problems? Do you use the List object for menus? Or do you some other objects for your menu?

Reply With Quote
;

