Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User aceklimax's Avatar
    Join Date
    Jul 2008
    Posts
    4
    Hi,
    i'm trying to solve some aplication and want to siplyfize its layout
    it has some form transitions based on choice elements selected and commands append to forms

    on some forms i have only 2 choice elements.
    is there any solution, that user will go to choicegroup (by clicking arrows) and than with joystickpush (ok button) when he chooses the option i will set some eventhandler/commandlistener and directly switch to another form based on selected index?

    or any other solution for easy one-click element choice and transfer to other form?

    <<something like on web pages, click on link > goes to this page>>

    i have also basic commands on context buttons(under display) for going to Help form, setting form, exit aplication and so, that's why i cant add here other commands for next and prevoius page, because user will have to push out the menu with all this options

    also i want to use basic forms with text, string items and choicegroups, donet need any graphical content.
    mayby some methods from gamecanvas for using button_fire

    any solutions?, help?, or source codes using this? I haven't found

    thanx in advance

    (basic midp 2.0/cldc1.1 application)

  2. #2
    Nokia Developer Expert rdrincon's Avatar
    Join Date
    May 2007
    Location
    Mexico D.F
    Posts
    351
    Hello

    Give a check to:

    1. The interface ItemStateListener
    2. The method of the class Form
    Code:
    public void setItemStateListener(ItemStateListener iListener)
    That interface will provide you a means to detect any change of the state of a form item.

    Here is a link to the MIDP 2.0 API if you don't have it locally

    http://java.sun.com/javame/reference/apis/jsr118/
    :Ruben

Similar Threads

  1. CommandListener on TextField.NUMERIC || TextField.PASSWORD
    By lekkie in forum Mobile Java General
    Replies: 3
    Last Post: 2007-07-09, 13:42
  2. FullCanvas with CommandListener??
    By Rodrigo82 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2007-02-26, 18:20
  3. Synchronization of thread connection with CommandListener
    By olegon in forum Mobile Java General
    Replies: 8
    Last Post: 2005-12-15, 13:42
  4. 6600 Canvas CommandListener problem
    By ssandor in forum Mobile Java General
    Replies: 3
    Last Post: 2005-08-09, 12:15
  5. CommandListener in more than 2 classes
    By stoun in forum Mobile Java General
    Replies: 1
    Last Post: 2003-04-15, 13:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved