11-29-2012 08:45 AM
11-29-2012 09:01 AM
11-29-2012 09:11 AM
11-29-2012 11:07 AM
I removed the args reference from the app constructor and I am still able to produce the error. Here is some more info:
- Using the debugger I can see that pressing the home screen icon while the application is already running doesn't execute public static void main again or the application's main constructor, even when the dialog shows.
- If I switch to another application using the task manager (holding the menu button for a second), and then return to the application through any flow (via home screen or task manager) the dialog doesn't display. In other words, the dialog only shows when the back button is pressed.
- The dialog doesn't display if I hit the hang-up button
- In the onClose() method of the screen I make this call to exitApp() on the event thread:
public synchronized boolean exitApp() {
UiApplication.getUiApplication().requestBackground ();
return false;
}
... and onClose() will return false. I wonder if returning false could be an issue?
I can think of a possible hacky solution where I do a event injection for the Keypad.KEY_END key.
11-29-2012 11:26 AM
11-29-2012 02:32 PM
Consuming the onClose() using a true return didn't solve it. I decided to do an event injection when the escape key is pressed that simulates the end-call key being pressed. This seems to hide that popup dialog. I'm not proud of myself for doing it this way
but it's all I have until I find out the cause.
Scott