You Are Here:

Community: Developer Discussion Boards

#1 Old Nokia 6600- error by ChoiceGroup.getLabel - 2004-02-10, 13:22

Join Date: Dec 2003
Posts: 6
dany_flo
Offline
Registered User
I found another bug for Nokia 6600.
getLabel() method from ChoiceGroup class returns null!

I have a form with more choice groups (preferences form). And for saving the choices I've implemented a procedure which saves the data for each of the choice groups. In order to know which porperty is saved I call the getLabel method for the choice group. And the method returns null on Nokia 6600 !
Reply With Quote

#2 Old 2004-03-10, 15:10

Join Date: Mar 2003
Posts: 38
samsalmi
Offline
Registered User
That seems to be the case.

I managed to go around the issue using setLabel() method when creating the ChoiceGroup object:

Code:
// Create choiceGroup and set up state listener for it
ChoiceGroup chGroup= new ChoiceGroup("Group", ChoiceGroup.EXCLUSIVE, groupItems, null);
chGroup.setSelectedIndex(selectedVehicle, true);
chGroup.setLabel("MyChoiceGroup");
Tested with real Nokia 6600 terminal, works fine with my device.

Regards,

-Samuli
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia