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

Developer

Forums

I'm trying to get user events and suspend/resume events to the actor.

I've created an event mask at the path "/trig/config/actors//eventmask" with the following value "0x40000001"

I've also tried posting the event to both the trig and the actor classids, and neither yield any positive results.

As such, it is my belief that the BREW documentation is erronious in regards to this topic.

I've noticed that other people have tackled this same problem, but unfortunately they didn't leave a concise explanation....

http://brewforums.qualcomm.com/showthread.php?t=14493

Its possible to read an event from BREW like resume or start. According to the uiOne_SDK_Tutorial by using an event mask its possible for an actor to receive system events.

According to this document by placing a string into /trig/config/actors//eventmask. I placed 0x40000000 into this string so that I could recieve user events.

Mine doesn't work? Any thoughts?

Mike.

I found by placing the class id of my trigML app and placing the above string into the right place that I can receive a message from system. In my case I was able to receive a EVT_USER when using ISHELL_PostEvent

Mike.

If anyone can explain how to make this work (without regurgitating the documentation) I would be eternally greatful.

Thanks.

It's definitely possible.
1) The event should always be sent to the Trig Applet, you can't post it to the actor directly.
2) Your Trig Applet needs to be sending the event to the TrigPlayer in its event handler function. Take a look at the ExampleTrigApplet.
3) There are some issues specific to receiving EVT_NOTIFY events requiring additional text resources in your Trig, but those don't seem to apply here.

It's definitely possible.
1) The event should always be sent to the Trig Applet, you can't post it to the actor directly.
2) Your Trig Applet needs to be sending the event to the TrigPlayer in its event handler function. Take a look at the ExampleTrigApplet.
3) There are some issues specific to receiving EVT_NOTIFY events requiring additional text resources in your Trig, but those don't seem to apply here.