Could not work next button.

Hey All!
I'm now working with j2me for Nokia. And for this I'm using a third party named Jmobilecore.
Its nice to use.. but I'm now facing a problem to show the next page as with softKey(Next Button) action.
this works for the second part not for the first part.. to work this I've to press key Up or down after Next button.
My code snippet is given below:
* AddSurveyUI.java
* Created on March 29, 2009, 2:20 PM
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
package com.bxpress.mid.ui;
import com.jmobilecore.ui.core.Label;
import com.jmobilecore.ui.core.List;
import com.jmobilecore.ui.core.ListComponent;
import com.jmobilecore.ui.core.ListLabel;
import com.jmobilecore.ui.core.ListScreen;
import com.jmobilecore.ui.core.SoftKey;
* @author ronu
public class AddSurveyUI extends ListScreen {
List list;
private String[] mediaType = {"TV", "Radio", "Other"};
String[] subMediaList;
public String item = "";
static AddSurveyUI addSurvey;
ListComponent listComponent;
EntryInfoUI entryInfoUI;
int mediaId = 0;
int state;
public SoftKey next_Btn = new SoftKey(Localization.CC_NEXT_LBL) {
public void performAction() {
getMediaNameList();
if(mediaId !=0){
refresh();
state = 1;
makeServeyUI(subMediaList);
}else if(mediaId == 0){
state = 0;
entryInfoUI.showTransactionTable(Localization.NINTH_FORM_IDENTIFIER);
public SoftKey back_Btn = new SoftKey(Localization.CC_BACK_LBL) {
public void performAction() {
if(state == 0) {
refresh();
entryInfoUI.goNext(Localization.NINTH_FORM_IDENTIFIER);
}else if(state == 1){
BXpress_Keya_2nd_Phase.mydisplay.setCurrent(BXpress_Keya_2nd_Phase.startPage);
/** Creates a new instance of AddSurveyUI */
public AddSurveyUI(String title) {
super(Label.createTitleLabel(title));
this.state = 0;
entryInfoUI = EntryInfoUI.getInstance();
System.out.println("In AddSurveyUI:::: ");
makeServeyUI(mediaType);
public static AddSurveyUI getInstance() {
try {
if(addSurvey == null) {
addSurvey = new AddSurveyUI("BXpress");
return addSurvey;
catch(Exception exp) {
exp.printStackTrace();
return null;
private void makeServeyUI(String[] mediaList) {
try {
System.out.println("In makeServeyUI:::: " + mediaList.length);
for (int i = 0; i < mediaList.length; i++) {
this.add(new ListLabel(mediaList));
softKeyBar.setSoftKey(this.next_Btn, SoftKey.RIGHT);
softKeyBar.setSoftKey(this.back_Btn, SoftKey.LEFT);
} catch(Exception ex) {
ex.printStackTrace();
private String[] getMediaNameList() {
item = getListItem();
System.out.println("In getMediaNameList:::: " + item);
if(item.equals("TV")) {
mediaId = 2;
subMediaList = new String[]{"NTV", "RTV", "CHANNELI"};
} else if(item.equals("Radio")) {
mediaId = 3;
subMediaList = new String[]{"Radio Abc", "Radio Furti", "Radio Today"};
} else if(item.equals("Other")) {
mediaId =4;
subMediaList = new String[]{"Internet", "NewsPaper", "Others"};
} else {
mediaId = 0;
subMediaList = mediaType;
return subMediaList;
private String getListItem() {
System.out.println("in getListItem::::");
listComponent = getFocusedComponent();
String str = listComponent.getText();
return str;
public void refresh() {       
this.removeAll();
Can any body pls help me about my step to taken to out this problem???

See here: http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipod
Be sure to choose China as your country though from the drop down list.
B-rock

Similar Messages

  • I logged in to fb but could not 'work' anything, changed browser to chrome google and everything worked, why is this?

    I could login, could read everything on fb but could not 'work' on fb, could not 'like', not post, not access anything.
    My tech suggested changing from firefox to chrome google and everything worked.
    Only other problem is that windows has taken over the posts of my photos and I can't see the photos now, just little green box in middle of screen unless I click on the box and it opens up the photo. How do I get my photos back now, as well.
    Am going back to firefox once more to see if everything is cleared up.
    Any suggestions about getting photos 'released' would be good.
    Thank you in advance.

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Nano 6th sinks (not working) Sleep Button.

    on my iPod nano 6th not working Sleep Button. problem occurs a second time.
    problem has been, decided to change the service center to the next. Now this is not possible, the warranty is over. how can I fix this problem?

    Hello J-Dub 181,
    And welcome to Apple Discussions!
    Have you tried resetting the iPod? If not, press and hold the Center and Menu buttons together until the Apple logo appears.
    If, you are still have issues after resetting the iPod, it may be best to restore the iPod via iTunes and start from scratch. Usually a restore can resolve these types of issues.
    [Restoring iPod to factory settings|http://support.apple.com/kb/HT1339]
    B-rock

  • I ipod classic 80 gb when I am connected pc connected after that is hanged just showing connected its not working any button

    I ipod classic 80 gb when I am connected pc connected after that is hanged just showing connected its not working any button .

    Try connecting it to another PC, if it is ok, then your PC has some software conflict with iTunes.
    If it hangs other PC also, then your iPod Hardisk, maybe bad.
    Do the disk diagnosticas posted earlier by tt2, to check the health of your Hardisk.
    Have a nice day!

  • HT1414 after restore i reached in the "choose a network" than i trying to connect to itunes but it could not work forword ..what to do..please tell??

    after restore i reached in the "choose a network" than i trying to connect to itunes but it could not work forword ..what to do..please tell??

    after restore i reached in the "choose a network" than i trying to connect to itunes but it could not work forword ..what to do..please tell??
    iPhone 4

  • Just now i replace the 5s mother board but could not work touch id pls help me.....

    just now i replace the 5s mother board but could not work touch id pls help me.....

    if you have replaced the logic board on your phone, by yourself then that is considered modification  and can cause other parts to fail due to ESD issues or just damage from handling parts

  • Gcc could not work

    I config alchemy step by step
    1.  ./config
    2.  source alchemy-setup
    3. alc-on
    and then I run "which gcc" , and it is alchemy gcc .. but when I run gcc --version to show the gcc version , it doesn't show any thing,
    So I think that alchemy gcc could not work...how can I do???

    You can try to install it with this installation pack. I have not try it personally but it looks very easy.

  • After i changed my computer's name and ip ,the EM could not work???

    My server is sunV890 + solaris9+oracle 10g
    After i changed my computer's name and ip ,the EM could not work???
    Who can help me to sovle this problem?thank you

    The notes in these Metalink documents will help you:
    Note:224425.1
    Note:260571.1
    Note 141955.1
    Note 95418.1

  • So I have updated my iphone4 GSM to ios 6.01, however after updating, my safari and mail could not work anymore, when i open these 2 apps, it just opens and hangs then it crashes.

    So I have updated my iphone4 GSM to ios 6.01, however after updating, my safari and mail could not work anymore, when i open these 2 apps, it just opens and hangs then it crashes.
    anybody can help me ?

    So I have updated my iphone4 GSM to ios 6.01, however after updating, my safari and mail could not work anymore, when i open these 2 apps, it just opens and hangs then it crashes.
    anybody can help me ?

  • Aperture export is not working, "Choose" buttons also  not reacting

    Suddenly I can't export versions, originals, metadata and export as library anymore. Also all "Choose" buttons do not react anymore. For example its not possible to open another Library or choose the external photo editor in Preferences. If I login with my second useraccount Aperture does work just fine.
    On Monday I had no problems at all. Sofar I did the following things:
    FIRST.
    Repair Diskpermissions and Verify disk which was OK.
    Moved to desktop following files:
    ~/Library/Preferences/com.apple.Aperture
    ~/Library/Caches/com.apple.Apertue
    ~/Library/Containers/com.apple.Aperture
    Emptied the trash and restarted. The problem is not solved.
    SECOND.
    All the above actions and restart.
    Aperture Photolibrary first aid, "Repair Permissins" , "Repair Database" and "Rebuild Database".
    The problem is not solved.
    THIRD.
    Uninstalled Aperture and removed all files containing the frase "Aperture" (as far as these files had any connection with the application).
    Repair Diskpermissions and Verify disk which was OK.
    Emptied the trash and restarted.
    Installed Aperture from DVD and update via Apstore.
    Still the same problems so I am asking the form members for help.
    Mathieu

    Are you having any troubles wiht other applications run from  this account?
    From what you wrote you seemed to have covered all the bases not sure what else to suggest. What is the system?
    Do you have any plugins installed in Aperture ?  What about any applications, plugins etc, for this account?
    You can try doing a safe boot (hold the shift key down as soon as you hear the start up chime. Hod it until the Apple appears on the screen) Safe boot takes longer to come up, there will be a status bar at the bottom of the screen while it boots. Once it is up you will see Safe Boot in red letters at the top of the screen on the login page. This might not work if you have File Vault turned on.
    Once booted in Safe mode log in. Aperture use to not run in Safe mode because the graphics card is restricted but I believe in 3.5. it will run. Note everything will be slow and jerky.
    See if that makes a difference. Once done testing boot normally and try it again.

  • Over State and actions not working with buttons in Flash cs4

    Hi - I am working on a Flash file and some of the buttons in the document are not working.When I test the movie the hand cursor appears when I hover over the buttons they don't change colour (as specified in the over state) and the actions don't work. Not sure what is going on here as I created other buttons in the same document the same way and they work fine. Thanks in advance.

    If you remove the code from the buttons do they react properly to a mouse over interaction?
    What is the code that is in place?

  • Captivate 4 SCORM not working, Exit Button Not working

    Hi All-
    I hope somebody can help me out because I am at the end of my rope with Captivate.
    I have a project that is in the final stages, I'm attempting to publish it to our LMS and it is not tracking properly, it is initializing the LMS and it is recording a "Started" status, but I can not get the completion status to work properly.
    I really don't want to include a quiz at the end so these are the settings I have used:
    LMS Standard: SCORM 1.2
    Report Status: Complete/Incomplete
    Report To LMS As: Percent
    Choose report Data: User Access Only
    Reporting Level: Interactions and Score
    I have tested every possible setting I can think of and the bloody thing will not work!
    Somebody please help me, because I do NOT want to have to start this over with Articulate!

    Hi Nathan
    In addition to the other advice, I believe that you need to have at least one scorable object in order for the reporting to work. For example, sometimes folks need a simple acknowlegement that the content has been viewed. I believe this is the case with SOX compliance. In cases like these, you insert a simple Button object the user clicks. Configure a quiz. You don't need actual question slides. You configure the button to report back the click.
    I didn't see anything about the Exit button, but the Exit button is unreliable at best. If you are clicking the Exit button and it's not working for you, take a look at the info below:
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Not working Home button iphone5

    Just a new iphone5, after the complete setup, the home button just works 2/3 times after that it's not working anymore. Can anybody help?
    Many thnxs

    Try this:
    Firstly open setting
    and hold power nd home buttom until you wont reach to your homescreen!
    it might fix your problem

  • The print control could not work?

    Hi,
    I want to set my characters upside down in my smartforms,and i got something from the net about print control.I used the print control 'COL2V' in 'CNSAPWIN'.
    But when  i printed this form,it seems the print control did not work.So,anyone who could help me?

    If you Google COL2V you'll find that this is a control for ABAP List for "inversed" font, which is not upside down, I believe, but just the color inversion (e.g. white on black background).
    There are many questions on SCN regarding the text rotation (use Search) but since even SAP delivers a bitmap where a rotated text needs to be in the Smartform, I doubt there is such option through the print controls.

  • Scroll effect is not working with button

    step 01: Make 3 pages (e.g. Home, About and Contact)
    step 02: use state 3 individual buttons from widget and link them with pages (home, about and contact pages)
    step 03: Try to use scroll effect with individual buttons.
    it will not work...
    if you first use scroll effect and then link the buttons with pages then the button will not get display on browser.

    What scroll effect are you using on the buttons?

Maybe you are looking for

  • Virtualbox no longer works after kernel update solved

    and before you say.. read the wiki, use google, check the forums.. I DID.. here's the message i got The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel modu

  • How to remove/uninstall custom installed perl modules?

    Hello all. Yesterday I upgraded from 10.3.7 to 10.4.5, then started to reinstall a bundle of perl modules (via the Terminal and 'perl Makefile.PL -- make -- make test -- [sudo] make install'). As I saw too late, some of those modules I installed are

  • Suggestion: page up and page down

    Am I the only one who'd like it if the default behavior for the Page Up and Page Down keys while editing in Keynote was to change slides? Right now, I usually hit them after editing in a text box or clicking on a slide in the Slides pane. In either c

  • About configuration replicate between r3 and crm

    hi gurus, i want to ask you a basic question, is the situation described right: 1, some configuration should be done in r3 and should be transfered to crm; 2, some can be done in crm and should be transfered to r3; 3, some should be done in both crm

  • A folder with an explanation mark appears on the screen of my ipod

    When i turn my ipod on it displays the apple for a really long time then the folder with the explanation mark shows for a while then it turns itself off. I have tried to update and restore my ipod but then the ipod is not recognised on the computer s