views:

6

answers:

0

Hi I am new to Blackberry and I am developing a application with reference to CLDC project.When I run the project with reference to the CLDC one it is successfully compile the application..But when I clean the smulator and workspace and run the app then the it is showing the app icon on the simulator but it is not going to the application. Please help me in this regard.

XMLParser.xmlFile = _xmlFileName; Question.totques = _totalNumofQuestions; Question.isLite = isLite;

PersistentObject pQues = PersistentStore.getPersistentObject(0xbd7460a5b4f9890aL); String stored_value = (String) pQues.getContents();

    int k=Integer.parseInt(stored_value);
     System.out.println("K value is " +k);
    if(k==1)
    {
        pushScreen(new HomeScreen());
    }
    else{
        pushScreen(new HomeScreen1());
    }

   //pushScreen(new HomeScreen());


}

here when i put comment on pushScreen(new HomeScreen()); in simulator not open the app. and when i remove comment on pushScreen(new HomeScreen()); in simulator open the app. how to solve this issue.any one help me.