原來 ChoiceGroup 係唔可以 implicit 的… 會return error ….
ChoiceGroup cg = new ChoiceGroup ("select location", Choice.IMPLICIT);
//error !!
change to following today:
private void displayListSelect() throws Exception {
stringArray = new String[]{"KCR station", "U gym", "HCA", "UC", "NA"};
ImplicitList = new List("select location", List.IMPLICIT, stringArray, null);
ImplicitList.addCommand(exitCommand);
ImplicitList.setCommandListener(this);
display.setCurrent(ImplicitList);
}