how to launch app by outgoing call? | developer.brewmp.com how to launch app by outgoing call? | developer.brewmp.com

Developer

how to launch app by outgoing call?

Forums:

I want to launch my application by pressing 611 (some specified number combination).

I have registered in MIF as below,

Notifications : AEECLSID_TAPI
Notifier : AEECLSID_TAPI
Mask : NMASK_TAPI_STATUS.

When i press 611, i got event in EVT_NOTIFY. Once i got 611 as TAPI number, i ended the call and started the applet by ISHELL_StartApplet().

But it is going to EVT_START , EVT_APP_SUSPEND and EVT_START. But i want to start my applet directly instead of going to suspend.

Can you pls suggest me how to do this?

thanks in adavnce

harishk_2k wrote:I want to launch my application by pressing 611 (some specified number combination).
...
When i press 611, i got event in EVT_NOTIFY. Once i got 611 as TAPI number, i ended the call and started the applet by ISHELL_StartApplet().
But it is going to EVT_START , EVT_APP_SUSPEND and EVT_START. But i want to start my applet directly instead of going to suspend.
Can you pls suggest me how to do this?
thanks in adavnce
Hint: "Suspend and Resume is a mechanism in BREW to indicate to the applet that it looses control over the main display and keypad (Suspend) and regains control (Resume).".
Getting EVT_APP_SUSPEND in the general case doesn't mean that the application must cease all activities.

harishk_2k wrote:I want to launch my application by pressing 611 (some specified number combination).
...
When i press 611, i got event in EVT_NOTIFY. Once i got 611 as TAPI number, i ended the call and started the applet by ISHELL_StartApplet().
But it is going to EVT_START , EVT_APP_SUSPEND and EVT_START. But i want to start my applet directly instead of going to suspend.
Can you pls suggest me how to do this?
thanks in adavnce
Hint: "Suspend and Resume is a mechanism in BREW to indicate to the applet that it looses control over the main display and keypad (Suspend) and regains control (Resume).".
Getting EVT_APP_SUSPEND in the general case doesn't mean that the application must cease all activities.

harishk_2k wrote:I
When i press 611, i got event in EVT_NOTIFY. Once i got 611 as TAPI number, i ended the call and started the applet by ISHELL_StartApplet().
But it is going to EVT_START , EVT_APP_SUSPEND and EVT_START. But i want to start my applet directly instead of going to suspend.
Can you pls suggest me how to do this?
thanks in adavnce
Don't call ISHELL_StartApplet(), staright away.. Once you got the EVT_NOTIFY..End the call and return the control to AEE by just return TRUE for the notify event. Again you get EVT_NOTIFY for call ending status at this point you call
ISHELL_StartApplet().
Hope this will help you...

harishk_2k wrote:I
When i press 611, i got event in EVT_NOTIFY. Once i got 611 as TAPI number, i ended the call and started the applet by ISHELL_StartApplet().
But it is going to EVT_START , EVT_APP_SUSPEND and EVT_START. But i want to start my applet directly instead of going to suspend.
Can you pls suggest me how to do this?
thanks in adavnce
Don't call ISHELL_StartApplet(), staright away.. Once you got the EVT_NOTIFY..End the call and return the control to AEE by just return TRUE for the notify event. Again you get EVT_NOTIFY for call ending status at this point you call
ISHELL_StartApplet().
Hope this will help you...

thanx for your info. It worked :) :) :)

thanx for your info. It worked :) :) :)

But some times call is ending late and app is getting started before call ends. Because of that reason we are seeing screens like below
Application launch---> Call end screen---> Application launch.
It is displaying like splash screens. Can you suggest me how to avoid call-end screen. Need to launch BREW application without having any call screens.

But some times call is ending late and app is getting started before call ends. Because of that reason we are seeing screens like below
Application launch---> Call end screen---> Application launch.
It is displaying like splash screens. Can you suggest me how to avoid call-end screen. Need to launch BREW application without having any call screens.

harishk_2k wrote:thanx for your info. It worked :) :) :)
Hi harishk_2K,
I am encountering the same problem ? please share the code snippet.
Also I have only add the notification for AEECLSID_TAPI (TAPI_STATUS), but my application got notified when the device started (NMASK_ISHELL_INIT). What could be the possible reason for that?
Help appreciated .......... :mad:

harishk_2k wrote:thanx for your info. It worked :) :) :)
Hi harishk_2K,
I am encountering the same problem ? please share the code snippet.
Also I have only add the notification for AEECLSID_TAPI (TAPI_STATUS), but my application got notified when the device started (NMASK_ISHELL_INIT). What could be the possible reason for that?
Help appreciated .......... :mad: