I'm trying to show some error alerts during the process to check if a database has been created succesfully or is lacking some info and needs ot be redownloaded from the server, but i'm not able to show the alert.
This is my code
PHP Code:
public final void message(String msg, int timeOut, Screen next)
{
synchronized (UiApplication.getApplication().getEventLock())
{
Status.show(msg, timeOut);
}
showNextDisplay(next);
}
After the dialog has been shown, i want for the "next" form to be showed afterwards, but not even the Status dialog is being show on screen. this is done by another thread besides the system thread, hence the eventlock