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
518 Views Asked by MohamedSanaulla At
1
There are 1 best solutions below
Related Questions in JAVA-ME
- Make report after running multiple JMX files
- Trying to install Java ME SDK
- What does the StackMap attribute in Code attribute do in J2ME compiled classes?
- How to increase a body data size while recording the script using JMeter?
- How to retrieve session information and pass single digit value in JMeter
- J2ME: How to set a volume of media?
- Extract JMeter listener execution report using programming
- How to run j2me game in browser
- Running JAR games natively on desktop
- J2me on Mac OS Monterey
- How to turn off Bluetooth with j2me
- TCP socket in Android
- Run JAX-WS on JavaME
- how can i send email using j2me midlet
- Java 2 ME doesnt support replaceAll()
Related Questions in MIDP
- Need help to track ball position in JAVA
- J2ME won't connect to remote socket
- c++ computer graphic midpoint line algorithm with eight octant
- ConnectionNotFoundException j2me
- TextEdit/TextBox onKey events in J2me
- connect J2ME application to https with self-signed certificate
- can't install jar in mobile phone (CLDC and MIDP)
- Calling number with special characters in J2ME Nokia
- MIDP in Java ME SDK 8.1
- J2ME Https connection not working
- Adding gauge in location finder class in j2me
- J2ME Midlet showing Java Error on some phones
- NullPointerException from Canvas class(J2ME)
- Displaying of array of images with stack(J2ME)
- g.drawString fails on MIDP 2.0 phones
Related Questions in CLDC
- Error in UseMethod("cld") : no applicable method for 'cld' applied to an object of class "c('emm_list', 'list')" - cld() issue
- Writing data to OutputStream without closing with CLDC
- OutputStream not working after InputStream
- Migrating ASN1 package from standard Java (JRE 1.5+) into J2ME (CLDC 1.1)
- Javame sdk 8.3 doesn't work on Netbeans
- What are CDC/CLDC in J2ME?
- can't install jar in mobile phone (CLDC and MIDP)
- Calling number with special characters in J2ME Nokia
- DeleteRecordStore error: record store is still open
- How can I run javascript/rhino implementation on cldc?
- lcdui v/s lwuit
- In J2ME, RMS can still hold all records after closing an app or restarting the phone?
- how to add canvas to the background of a form in j2me
- Is Object.class.getName() Slow?
- Adding MIDlet-attributes to JAD file
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 # Hahtags
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.