if (download) {
UiApplication.getUiApplication().popScreen(
waitScreen);
}
final Dialog eventLogScreen = new Dialog(
OmniLinkBBClient
.getString(OmniLinkClientResource.EVENTLOG),
null, null, 0, null);
for (int i = 0; i < eventLogEntries.length; i++) {
EventLogResponse eventLogEntry = eventLogEntries[i];
long eventLogEntryDate = eventLogEntry.getDate();
String eventLogEntryText = getEventLogDescription(eventLogEntry);
DateField date = new DateField("",
eventLogEntryDate, DateFormat
.getInstance(DateFormat.DATE_SHORT
| DateFormat.TIME_SHORT),
DateField.DATE_TIME | DateField.READONLY);
RichTextField text = new RichTextField(
eventLogEntryText,
RichTextField.NON_FOCUSABLE);
eventLogScreen.add(date);
eventLogScreen.add(text);
}
eventLogScreen.doModal();
}
});
}
};
new Thread(exec).start();