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

Developer

Forums

Hi,
I tried register some notifications (i.e. SMS_TEXT) using ISHELL_RegisterNotify() function, but it return EPRIVLEVEL. Why?

The calling way follow:
res = ISHELL_RegisterNotify(pishell, AEECLSID_FUNCACTOR,
AEECLSID_TAPI,
NMASK_TAPI_SMS_TEXT);

In my case, AEECLSID_FUNCACTOR is my own actor class id. Also *.mif file (exported from trigbuilder into BREW) of Triglet (functrig.mif) has the following settings:

1) Applets tab: alone classid (of my own trig), if click on 'Notifications, Flsgs' button I see the the following settings:
1.1 Notifications list: alone item (AEECLSID_TAPI)
1.2 Notifier: AEECLSID_TAPI
1.3 MASK: NMASK_TAPI_SMS_TEXT
1.4 Value: 0x0000
2) Extension and Dependencies tabs are empty
3) Privileges tab: all chekflags are checked ()
4) Other tabs are empty.

The actor mif-file has the follow structure:
1) Extensions tab contains class id name (i.e. actor class id) and its MIME-type. This date defined correctly :).
2) Privileges tab: all check flags are disabled.

Help me accomplish this problem, please :)

How I can tune the system (TrigBuilder, BREW ets) to my actor is abled system event from trig? It's prepeared that events are notifications and the was registered in trg mif-file.
Thank you :)

How I can tune the system (TrigBuilder, BREW ets) to my actor is abled system event from trig? It's prepeared that events are notifications and the was registered in trg mif-file.
Thank you :)

To accomplish problem with correct registration (using ISHELL_RegisterNotify()) in this case it needed set a correct value of second argument by calling this function/ It must be trig applet id (isn't actor class id!!!!!!).

To accomplish problem with correct registration (using ISHELL_RegisterNotify()) in this case it needed set a correct value of second argument by calling this function/ It must be trig applet id (isn't actor class id!!!!!!).