View Single Post
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#6
Originally Posted by kitwalker View Post
Actually this was posted about an hour earlier.
Also the OP there is specifically asking for a C++ means to do it and he is asking for means to know when someone calls. For me I just want to know if there currently is an ongoing call, the call may be initiated by self too.. doesnt matter.
Here you will find a complete working example by qwerty12 in C. I've used the same in my app Phone Speakers Switcher. It tells when the phone is "ringing"(when one is receiving a call), "active"(One is on the phone or making call - even when the other end hasn't yet answered the phone) or "none".
 

The Following User Says Thank You to jaeezzy For This Useful Post: