08-31-2011 03:42 AM
Hi!
Does someone have a idea about a crash problem under the Bold 9900 with a dialog? It crashes when I click on any of the two buttons. I just get the first log, and only a "application exit" with no trace at all.
Logger.info("[FirstScreenChooser]question");
int result = 0;
String[] response = { "Installer", "Quitter" };
result = Dialog.ask(Local.get(Local.RELOAD_FORCE), response, 0);
Logger.info("[FirstScreenChooser]result ask: " + result);
It's weirds that it works well on any 0S 5 and 6 devices, and even on a 9860 device (which is a OS 7).
Thks!
09-06-2011 03:30 PM
Where is this code being called from (click of a button, background task, etc...)?
09-07-2011 08:39 AM
Hi and thanks MSohm
In fact I've been deeper and found a behaviour that is different between the 9900 and any other devices (even under OS 7). I am not sure if it is a bug since this behaviour is not without sense:
It happens while doing this on My Splascreen:
But it works when I reverse the order of my actions like this:
To tell in a few word: the 9900 kills the UIApplication if it has no screen
09-07-2011 10:36 AM
Are you extending MainScreen? The default behaviour of MainScreen is to close the application if it is the last screen on the display stack.