×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Sep 2011
    Posts
    73

    How to populate a choice group from a record store?

    If there were a record store with three strings in it (for example, "a", "b", and "c"), how could one get those strings from the record store and with those strings populate a choice group? The goal is for the choice group to have these three choices:

    a
    b
    c

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: How to populate a choice group from a record store?

    Hello John_123,

    this discussion thread provides some ideas on how to store the strings and how to get them out of a record store: http://www.developer.nokia.com/Commu...problem-in-S40

    So after acquiring the data from the recordstore, the application needs to add the acquired data (a, b, c) one item at a time to the ChoiceGroup f.ex. by using append within a for-loop.

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Regular Contributor
    Join Date
    Sep 2011
    Posts
    73

    Re: How to populate a choice group from a record store?

    Thank you, r2j7. I'll give a for-loop a try.

Similar Threads

  1. Choice Group
    By mrjayaram in forum Mobile Java General
    Replies: 5
    Last Post: 2010-07-12, 05:47
  2. populate record faills for second time
    By gnanasp in forum Mobile Java General
    Replies: 0
    Last Post: 2010-03-10, 09:50
  3. Choice group problem
    By vigneshkrish in forum Mobile Java General
    Replies: 8
    Last Post: 2009-05-13, 13:30
  4. store and read MULTIPLE choice group strings..plz help
    By ruchitjoshi in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-11-14, 20:32
  5. Choice Group Oddness
    By mrmop in forum Mobile Java General
    Replies: 1
    Last Post: 2003-12-19, 01:32

Posting Permissions

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