hi
in my j2me code, i have a choice group dropdown whose values are got from web content as a string array. i am using the following for loop to get the selected value of the choice group
for(int i=0;i<2;i++) {
if(cust.isSelected(i)) {
f = cust.getString(i);
}
}
my problem is instead of hard coding the 'i<2' bit, i wanted a way of the choicegroup size to be determined automatically so that i dont have to enter the value manually
thanks