Hi.
I need to do something like:
display.setCurrent(new Form("Please Wait..."));
// close bluetooth connection (code not present here)
// make sure connection is closed before continuing
try { Thread.sleep(5000); } catch (InterruptedException e) {}
// continue
However, the display doesn't update to the "Please Wait..." form with this code. Apparently, the Thread.sleep gets called before the display is updated and it prevents that from happening. How can I get the "Please Wait..." form to appear?

Reply With Quote


