×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223

    Choicegroup POPUP Problem On C3

    Hi All,

    I am developing an J2ME application has size of around 200kb having several choicegroup with POPUP style. When I was tesed my application on Nokia C3 device I found following issue regarding choicgroup POPUP
    Issue :-
    When I pressed OK key (Center Key) to open choicegroup list items and select something and goes back to the form that has choicegroup., left and right soft keys get hanged and no event occurs on pressing these any of the soft key.

    What is the reason behind this...

    Please help me to resolve this issue ASAP...


    Thanx..

  2. #2
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223

    Re: Choicegroup POPUP Problem On C3

    One of the scenario I found that When both soft keys gets hanged and if we keep phone idle, after sometime application will able to take events from the soft key buttons.

    Is that memory related issue or something else..

    Please help me its urgent...

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223

    Re: Choicegroup POPUP Problem On C3

    Hi,

    another scenario forund that above mentioned problem is occured on Nokia C3-00 whenever textfields and choicgroups both are appended to the same form.........

    Thanx All....

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: Choicegroup POPUP Problem On C3

    Quote Originally Posted by devdattac View Post
    Hi All,
    When I pressed OK key (Center Key) to open choicegroup list items and select something and goes back to the form that has choicegroup., left and right soft keys get hanged and no event occurs on pressing these any of the soft key.
    Were there any exceprtion/errors displayed by device?
    Did any other key workd except the two you mentioned?
    have you added commands on the LSK and RSK and are not working while you are coming back to the form?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Pune
    Posts
    223

    Re: Choicegroup POPUP Problem On C3

    thanks for the reply...

    No exceptions were thrown by the device , just LSK and RSK gets hanged after coming back to the form from choicgroup POPUP list.

    All other keys were working fine.

    I have added buttons. My J2me code is....
    Code:
    public class TestMidlet extends MIDlet implements CommandListener{
    
    	private Form form;
    	
    	private StringItem str_test;
    	private TextField tf1;
    	private TextField tf2;
    	private ChoiceGroup ch1;
    	
    	private Command cmd_Ok;
    	private Command cmd_Exit;
    	
    	private String[] arr_Relation = {"Father","Mother","Brother","Sister"
    										,"Wife","Husband","Uncle","Cousin"
    										,"Father-in-law", "Mother-in-law"
    										,"Brother-in-law","Sister-in-law"
    										,"Grandfather","Grandmother"
    										,"Grandson","Granddaughter"};
    	
    	private boolean isPaused= false;
    	
    	
    	public TestMidlet() {
    		// TODO Auto-generated constructor stub
    		//midletInstance = this;
    	}
    
    	protected void destroyApp(boolean arg0) throws MIDletStateChangeException {
    		// TODO Auto-generated method stub
    		System.out.println("In destroy app");
    	}
    
    	protected void pauseApp() {
    		// TODO Auto-generated method stub
    		System.out.println("In pause app");
    		isPaused = true;
    	}
    
    	protected void startApp() throws MIDletStateChangeException {
    		// TODO Auto-generated method stub
    		System.out.println("In start app");
    		
    		if(!isPaused){
    		
    			Display display = Display.getDisplay(this);
    			
    			form = new Form ("Test Form");
    			
    			str_test = new StringItem("Hello World","Hello J2ME",StringItem.PLAIN);
    			
    			tf1 =  new TextField("Textfield 1","",20,TextField.ANY);
    			tf2 =  new TextField("Textfield 2","",20,TextField.ANY);
    			
    			ch1 = new ChoiceGroup("Choicegroup 1",ChoiceGroup.POPUP,arr_Relation,null);
    			
    		    // append form items
    			form.append(str_test);
    			form.append(tf1);
    			form.append(tf2);
    			form.append(ch1);
    			
    			cmd_Exit = new Command("Exit",Command.EXIT,0);
    			cmd_Ok = new Command("OK",Command.OK,0);
    			
    			// add commands
    			form.addCommand(cmd_Ok);
    			form.addCommand(cmd_Exit);
    			form.setCommandListener(this);
    			
    			// display form
    			display.setCurrent(form);
    		
    		}else{
    			System.out.println("midlet resumed");
    		}
    	}
    
    	public void commandAction(Command arg0, Displayable arg1) {
    		// TODO Auto-generated method stub
    		if(arg0.getLabel().equals("Exit")){
    			notifyDestroyed();
    		}else if( arg0 == cmd_Ok){
    			form.append("Ok called");
    		}
    	}
    }
    As mentioned in my earlier post that it was found with combination of textfield and choicegroup on same form , If I didnt append textfields then LSK and RSK not get hanged after coming from choicegropu popup list to form.

    What is the reason behind this?

    Thanks All....
    Devdatta S. Chandsarkar

  6. #6
    Registered User
    Join Date
    Nov 2011
    Posts
    1

    Re: Choicegroup POPUP Problem On C3

    Hello, also encountered this type of bug, any progress regarding this issue? BTW, im also using Nokia C3

    Thanks. .
    Last edited by cntrlaltdel; 2011-11-22 at 10:53.

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

    Re: Choicegroup POPUP Problem On C3

    Hello cntrlaltdel,

    and welcome to Nokia Developer Discussion Boards!

    This seems to be a clear sw bug. I have submitted an bug error report on this.

    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]

  8. #8
    Registered User
    Join Date
    Jun 2011
    Posts
    9

    Re: Choicegroup POPUP Problem On C3

    Hi r2j7,

    I also having the same issue.

    Is there any work around or minor fix we can apply.

    Thanks,
    hellfire

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

    Re: Choicegroup POPUP Problem On C3

    Hello hellfire001ph,

    As an additional info, I checked further and it is also on Nokia X2-01 (a full QWERTY device like C3-00).

    Since the issue is related to the UI component itself then the only solution for the affected devices would be not to use it..

    Have you checked if you could use an Exclusive List instead?:

    List list = new List("Choices", Choice.EXCLUSIVE);

    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]

  10. #10
    Registered User
    Join Date
    Jun 2011
    Posts
    9

    Re: Choicegroup POPUP Problem On C3

    Hi r2j7,

    Yup Exclusive is working but this will display all the content which is about 20-50 items. hmm may be i need to create a sub form for this while waiting for the fix.


    Thanks,
    Hellfire

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

    Re: Choicegroup POPUP Problem On C3

    Hello hellfire001ph,

    just to get back to you on this, unfortunately there will not be a software fix to the ChoiceGroup issue on Nokia C3-00 and Nokia X2-01. Therefore it is recommended to find a custom solution to the issue.

    I will create a Known Issue article to Nokia Developer Wiki on the issue.

    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]

Similar Threads

  1. help needed in choicegroup.popup
    By knights123 in forum Mobile Java General
    Replies: 2
    Last Post: 2009-08-06, 14:44
  2. Urgent help needed in choicegroup.popup
    By knights123 in forum Mobile Java General
    Replies: 5
    Last Post: 2009-07-29, 06:20
  3. choicegroup popup not working with j2mepolish
    By acutex in forum Mobile Java General
    Replies: 2
    Last Post: 2009-06-08, 10:09
  4. Choicegroup.popup
    By nabenabu in forum Mobile Java General
    Replies: 4
    Last Post: 2008-11-21, 12:06
  5. Popup ChoiceGroup problem on 6600
    By stuckert in forum Mobile Java General
    Replies: 1
    Last Post: 2003-12-15, 13:56

Posting Permissions

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