Hi guys!

It's been a while, I gave up on my own wrapper and purchased InTheHand
as well. It works great indeed. I just want to ask how can I notify or
make my application call a function or a method right after a call has
been done or an SMS has been sent or an Email has been sent?

Thanks!

Re: Notifications on SMS, Phone, and Email by Peter

Peter
Mon Nov 06 02:12:34 CST 2006

There isn't a built in way to catch these events in managed code. But both
should be achievable with some P/Invoke or native code.
For phone events you would use TAPI and open a line with monitor privileges.
OpenNETCF have a telephony library in beta which probably has all the
functionality you need to do this.
For SMS and Email events you need to hook into the native CEMAPI APIs the
IMAPISession interface has an Advise method which allows you to register an
interface to handle mail store events, this would include messages moving
between folders (Outbox and Sent Items for example).

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

"Mpoy" <empwebs@gmail.com> wrote in message
news:1162630168.174527.110410@h54g2000cwb.googlegroups.com...
> Hi guys!
>
> It's been a while, I gave up on my own wrapper and purchased InTheHand
> as well. It works great indeed. I just want to ask how can I notify or
> make my application call a function or a method right after a call has
> been done or an SMS has been sent or an Email has been sent?
>
> Thanks!
>