I need to open a new form based on a result obtained from a network request.
The issue is that the code works "ONLY" on the feature phone simulator, and not on the other
j2me devices (NOKIA simulators).
The code i am using is (..abridged version)
@Override
protected void postResponse()
{if (response.equalsIgnoreCase("string"))
{
Formname f=new Formname();
f.show();
}
}
The above code IS NOT OPENING a form on the NOKIA j2me simulators.
I had a similar issue when working with RIM and i solved it by using a run thread to resolve the issue. I tried it on codename one using the
Display.getInstance().invokeAndBlock(new Runnable()
{public void run(){
Formname f=new Formname();
f.show();
--------
Still does not open a new form. PLEASE HELP