Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I've got a situation in my app where I call ISHELL_CloseApplet(), but before I receive the EVT_APP_STOP I get an event from another app which requires me to start up again.

I tried calling ISHELL_StartApplet() while handling the incoming event, but despite the fact that it returned SUCCESS the app still quit. I then tried calling StartApplet() on the EVT_APP_STOP, and while this caused the app to start again, it was unloaded and recreated first, which means I lost important information.

Anybody know how I can abort a stop in the middle, or at least restart after the stop without having my app freed?

-Erik

The solution I came up with was to call StartApplet() when I receive the EVT_APP_STOP event, and then put the app in background mode. The app starts up again without unloading.
-Erik

The solution I came up with was to call StartApplet() when I receive the EVT_APP_STOP event, and then put the app in background mode. The app starts up again without unloading.
-Erik