×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Jul 2013
    Posts
    15

    PopUpChoiceGroup for Nokia Asha

    Hi,

    I want to use PopupChoiceGroup in one of my application.

    But i unable to find a mechanism of listener which is fired when an option in the popupchoicegroup is selected .

    Can anybody help me in that !!

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    682
    Heard of DVLUP? Join here

  3. #3
    Registered User
    Join Date
    Jul 2013
    Posts
    15

    Re: PopUpChoiceGroup for Nokia Asha

    Hello Shai.i

    thanks for your reply, i have successfully added the popupchoicegroup component on my form. But i am not able to understand , what event is fired when i select an item in popupchoicegroup.

    Or what listener i should bind too , to get to know when user makes a choice.

    I hope the question is clear to you !!

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    682

    Re: PopUpChoiceGroup for Nokia Asha

    Have you tried looking at the example midlet in the 2nd link?
    Have you tried looking at the popupchoicegroup javadoc?
    Have you tried addActionListener and getSelectedIndex() ?
    Heard of DVLUP? Join here

  5. #5
    Registered User
    Join Date
    Jul 2013
    Posts
    15

    Re: PopUpChoiceGroup for Nokia Asha

    Hi i have tried using addActionListener to PopUpChoiceGroup it says i cant addActionListener to PopUpChoiceGroup !!

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2013
    Posts
    682

    Re: PopUpChoiceGroup for Nokia Asha

    then I suggest you use the getSelectedIndex() after the user navigates away from the popupchoicegroup or click an "ok" button that you place.
    Heard of DVLUP? Join here

  7. #7
    Regular Contributor
    Join Date
    Dec 2012
    Location
    India
    Posts
    271

    Re: PopUpChoiceGroup for Nokia Asha

    Hi

    The method suggested by shai is the only option.I faced this issue too and this s wat I did to solve my problem.

  8. #8
    Registered User
    Join Date
    Jul 2013
    Posts
    15

    Re: PopUpChoiceGroup for Nokia Asha

    Hi ,

    Thanks for you reply shai.i and arunkam, but how i will know when user navigates away from popupchoicegroup, and can i place an ok button on popupchoicegroup ??

  9. #9
    Registered User
    Join Date
    Jul 2013
    Posts
    15

    Re: PopUpChoiceGroup for Nokia Asha

    Hi ,

    But how can i know if the user has navigated away form the popupchoicegroup !!

  10. #10
    Regular Contributor
    Join Date
    Dec 2012
    Location
    India
    Posts
    271

    Re: PopUpChoiceGroup for Nokia Asha

    Hi

    I will tell you my case..I had a form full of different options/settings the user chooses from.Once he is done changing all the settings in the form, he will click on an okay command in the form.Once that is pressed, I retrieve the corresponding content form the popupchoice group and use it according to my needs.

  11. #11
    Registered User
    Join Date
    Jul 2013
    Posts
    15

    Re: PopUpChoiceGroup for Nokia Asha

    yes for settings pane that makes sense but if want to change something based on the selection itself then i am not able to do that. Let me know if any body has done something like that.

Similar Threads

  1. PopupChoiceGroup actionlistener won't work on Asha 501
    By Gureen.Ryuu in forum Mobile Java UI and User Experience
    Replies: 1
    Last Post: 2013-12-25, 11:45
  2. Nokia Asha 501 LWUIT (Asha SDK 1.0) setScrollable(false) not having an effect
    By Gureen.Ryuu in forum Mobile Java UI and User Experience
    Replies: 1
    Last Post: 2013-10-30, 11:14
  3. Popupchoicegroup not working for asha 501
    By Manpreet_Singh in forum Mobile Java UI and User Experience
    Replies: 6
    Last Post: 2013-10-16, 10:04
  4. Replies: 0
    Last Post: 2013-09-22, 13:12

Posting Permissions

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