I have used vChoiceGrp = new ChoiceGroup("State: ",ChoiceGroup.POPUP);
vChoiceGrp.append();
this.editEvtRecForm.append(vChoiceGrp);
but in the device, i am not able to open the choice group.
Thanks in advance.
I have used vChoiceGrp = new ChoiceGroup("State: ",ChoiceGroup.POPUP);
vChoiceGrp.append();
this.editEvtRecForm.append(vChoiceGrp);
but in the device, i am not able to open the choice group.
Thanks in advance.
Hi,
IS it working fine on Simulator.If so you can try with a sample app that opens a Choice group on your simulator as well as phone.
Thanks
Soku
You have not appending anything to the choicegroup.this is the demo you can have and edit the same as per the requirement,
http://www.java-tips.org/java-me-tip...p-in-j2me.html
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,
i have append but i forgot to write it here ,
evtStateChoiceGrp.append(evtStateList[i].substring(evtStateList[i].indexOf("--")+2,evtStateList[i].length()),null);
Still it doesn't allow me to see the items inside the choice box in nokia emulator.
See the problem is ,
I am using j2me polish ok
I was searching on the net for solution. Some said i should put a perprocessor before the choice group and is did so. //# style horzontal
Now, in sun wtk it works fine
but in nokia it doesnot shows the data as i am not able to activate the choicegroup.
I mean the centeral button of the device is used for another command, on top of the centeral button of the mobile device it shows the save bottom which i have kept to use as i need to save the data after choosing the state from the choiceGroup, i want the centeral buttom to be fired for choiceGroup, how to do that...?