Why is my lwuit application running slowly on phones, and how can I fix it to perform better?
When I run the LwuitDemo, it is running fine. So maybe there is something missing in my code.
I use this when want to display a dialog:
Display.getInstance().invokeAndBlock(new Runnable() {
public void run() {
Dialog.show("Add User/Flux", "Please enter the pin", "Ok", null);
}
});
And when I want to create and show a form
System.gc();