I'm trying to get an application to restart correctly on a ZTE GR255 phone. There's some network activity as the app starts, and if it times out, the user gets the option to retry. I've implemented retrying by just killing the applicaion via PushRegistry.registerAlarm to start the app in 4 seconds, then killing the app with notifyDestroyed().
This works fine on three other devices, but for this particular phone, the application restarts in the background---it's a little odd, really: the screen shows the menu (or home screen, depending on how you activated the app), but user input does nothing, because it's being sent to my application. Hitting the end-call key will end the program, but then, when you try to start it later, it will still run in the background.
Is there a way to force the application to the foreground?
(Things I've tried so far: extending that alarm out to 20 seconds in case the app's shut-down was interfering with the startup. Also, I'm calling Display.setCurrent several times during startup, which is supposed to signal the OS that the app should be maximized. Is there anything else I can try?)