03-25-2013 04:57 PM
Have not touch Java for blackberry for a while,
I am entercounting a new problem. please help me to solve this issue..
What I am doing is:
once user push a button on screen, it will start a thread to parse content, then push new screen on the top,
however, once a new screen is pushed, it is said
Focus - target lost, prev=null, input=null
so i debug it: what I found is:
when my new screen is pushed to stack, uiEngine, inputscreen become null.
it is very wired, I have used
}) to update my screen.
what will cause uiEngine.inputscreen is null?
Solved! Go to Solution.
03-25-2013 08:04 PM
The information you have given is not really sufficient to analyze your problem.
The code you are using with UiEngine is generally only needed when running a background (ui less) application, i.e. using the Application class. You are running a foreground application using the UiApplication class. So I suspect you are mis-using some mechanism along the way.
Putting this another way, if you code is running in a Thread that was started by a UiApplication, you can get back on the event using using
You should not have to use UiEngine.
03-26-2013 06:24 AM
03-26-2013 12:50 PM
Nice to see you guys still here.
I found my problem. it is caused by initilizing my screen with list field, and app fill all elements during intilizing.
i move that part to out, then every thing works fine.