I am developing a Java ME application for CLDC devices. I have a requirement where the questions are generated based on the previous response. I would start with one choicegroup and then based on the answer to this choices give another set of question to the user- Kind of Yes/No- If Yes this question or No this question. How do we do that? Am novice in mobile app development. Any help in terms of ideas or blog posts or articles is much appreciated and is of great help.
How do we add ChoiceGroups dynamically in Java ME (CLDC) based on the answer to previous choice group values
517 Views Asked by MohamedSanaulla At
1
There are 1 best solutions below
Related Questions in JAVA-ME
- J2ME chat application not connecting
- Does j2me support SHA-2 for signing an Android Application?
- Nokia Asha SDK files
- Date Issue in J2ME
- How to configure proguard in Eclipse Me for generating jar(FFI) file for j2me
- Provide our j2me app with expired certificate
- How to resolve javax.microedition.io.connectionnotfoundexception: connectionnotfound error in socket::open : error = 10061
- multiple j2me commandAction methods in different classes not responding
- Java ME: transform basic JDK 1.5 "enum" object into Java ME CLDC-1.1/IMP-NG (JDK 1.4)
- JAVA Inner class Variable access
- landscape j2me game with WTK emulator
- How to access the multiple choiceGroup in midlet class as selection
- Third soft button for LWUIT/Codenameone?
- android Dx warning: Ignoring InnerClasses attribute for an anonymous inner class jar file issue
- Stop playing music
Related Questions in MIDP
- Help with JavaME Function
- Debugging in JavaMe (Midlet or JAD)
- J2ME text encryption - javax.crypto.IllegalBlockSizeException
- Find application mode, is it idle or not, in Java ME
- Are there any MIDP 3.0 based devices?
- Selected lIstener on javax.microedition.lcdui.CustomItem (MIDP)
- Is it possible to add malayalam font in Midlet programming?
- JavaMe MIDlet and Canvas
- HttpConnection - javax.microedition, returning -1 for getLength() method
- Print exception stack trace in JavaME, for the Samsung JET
- Sending and receiving SMSes in Series 40
- Fastest way to concatenate multiple strings
- kxml for parsing data from website
- I want to connect a servlet to a .jsp and then connect the servlet with a midlet
- Draw string on the center of the header image
Related Questions in CLDC
- Equivalent (roughly) of setCurrent() in BlackBerry()
- How can I run javascript/rhino implementation on cldc?
- How to change the "Date" and "Time" of the mobile phone using "J2ME"?
- What is the best way to achieve push on CLDC devices?
- Using boolean var for stopping threads
- Trigonometry in CLDC 1.0 / MIDP 2.0 application
- Is Object.class.getName() Slow?
- Midlet doesnt respond to touch in older touch screen phone
- Commands sometimes don't work
- Alternatives for arbitrary-precision decimals in J2ME
- How to approach SRS
- "Undefined methods for the type "error after importing Netbeans project to Eclipse Pulsar
- How to force use of StringBuffer instead of StringBuilder by default in javac?
- Trying to write a hello world CLDC blackberry program
- MIDP 2.0 version issues: $method is undefined for $type
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Read the MIDP2.0 javadocs, and set aside some time to just experiment with the LCDUI APIs and become familiar with how the different components work. Are you comfortable with the difference between a
Formand aList, or aScreenand anItem?These classes in particular can sometimes be slightly surprising and confusing in how they behave. They also often generate quite different results depending on platform.
What you are looking for can be achieved by doing something like adding an
ItemStateListenerto your form, whoseitemStateChanged()method will get called whenever your firstChoiceGroupgets touched. Add your next form elements in that method based on whatever action has been performed on theChoiceGroup.