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

Developer

Forums

Forums:

Is there a way for an app to be launched  when there is an incoming call? (as opposed to having a running app regisiter for notifications of an incomming call?)

Yes, register for AEECLSID_PHONENOTIFIER with mask AEET_NMASK_NEW_CALLDESC through MIF/CIF(notifications tab). Whenever new call occurs, your app gets EVT_NOTIFY event. The dwParam for this event is of type AEENotify. The pData member of which is of type AEETNotifyInfo. If event (member of AEETNotifyInfo) is AEET_EVENT_CALL_INCOM, use IShell_StartApplet to launch your app.
See PhoneNotifier API reference for more details.

Yes, register for AEECLSID_PHONENOTIFIER with mask AEET_NMASK_NEW_CALLDESC through MIF/CIF(notifications tab). Whenever new call occurs, your app gets EVT_NOTIFY event. The dwParam for this event is of type AEENotify. The pData member of which is of type AEETNotifyInfo. If event (member of AEETNotifyInfo) is AEET_EVENT_CALL_INCOM, use IShell_StartApplet to launch your app.
See PhoneNotifier API reference for more details.