suspended app not getting notified | developer.brewmp.com suspended app not getting notified | developer.brewmp.com

Developer

suspended app not getting notified

Forums:

I´m writing a prototype for a menu application which should call several OEM applications.

I start the applets with ISHELL_StartApplet, which triggers the EVT_APP_SUSPEND. However when the applet that was started is stopped EVT_APP_RESUME is not called.

I´ve tried using ISHELL_Resume with no success.

Is there any restriction to what applications trugger the EVT_APP_RESUME event?

Use ISHELL_StartApplet() to resume your app.
-Erik

Use ISHELL_StartApplet() to resume your app.
-Erik

do you deactivate your rootform when your applet get's suspended?
and then reactivate it when you get the EVT_APP_RESUME event?

do you deactivate your rootform when your applet get's suspended?
and then reactivate it when you get the EVT_APP_RESUME event?

Hi,
When you call ISHELL_StartApp(), the applet that is making the call will go into suspend as soon as the called app is ready to awaken. This is an Async call so, your app will not go into suspend before that point. On the oher hand, as soon as your other app exits, the original calling app should wake (EVT_APP_RESUME) but on the simulator, to my experience, that is not the case. If you continue to encounter problems, just call ISHELL_StartApp() and kill your main app with ISHELL_CloseApplet() then do it in reverse when the other app is done. Before i discovered that the sim and the handset behaved differently when using these functions, that is what i did with a couple of apps that would call each other as needed. It worked like a charm.
Hope i understood your question and that this helps.
Saludos,
alhiem

Hi,
When you call ISHELL_StartApp(), the applet that is making the call will go into suspend as soon as the called app is ready to awaken. This is an Async call so, your app will not go into suspend before that point. On the oher hand, as soon as your other app exits, the original calling app should wake (EVT_APP_RESUME) but on the simulator, to my experience, that is not the case. If you continue to encounter problems, just call ISHELL_StartApp() and kill your main app with ISHELL_CloseApplet() then do it in reverse when the other app is done. Before i discovered that the sim and the handset behaved differently when using these functions, that is what i did with a couple of apps that would call each other as needed. It worked like a charm.
Hope i understood your question and that this helps.
Saludos,
alhiem