How to implement event notification mechanism in AIR
- by nxhoaf
Do you know how to implement event notification mechanism in AIR ? For simplicity, consider an example:
I want to build two applications: "television" and "remote". Among them, television is implemented using AIR. For the "television" I want to use my remote to send message to the television.
How must I do to implement "television" in such way that, it runs in waiting mode and whenever it receives a message from "remote", it will process the message and make a suitable action (i.e. change channel, increase volume...).
Thank you in advance.