Why we can’t use Choice.IMPLICIT with in a Form while we can use Choice.EXCLUSIVE. When I use Choice.IMPLICIT, it gives me a java.lang.IllegalArgumentException
ChoiceGroup msgChoGrp = new ChoiceGroup("", Choice.EXCLUSIVE);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The way you use (mis-use) the MIDP 2 API,
IAEis the correct behavior because it is exactly what API javadocs require for ChoiceGroup(String label, int choiceType):By the way if all you want is to get rid of radio-buttons and check-boxes, try
POPUPkind of ChoiceGroup. If you need to get even closer to implicit List, if you need this really badly, considerCustomItem– though this might require thorough study of API to implement correctly