Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
For my app, i want to know the details (name) of the person who is calling me on my Windows Phone and thus send him/her an automatic message instantly.
I would like to write this segment using C#.
Posted
Comments
E.F. Nijboer 11-Dec-14 5:54am    
What did you try yourself? Where did you get stuck?

1 solution

Hi Jayanti,

The interception of incoming call is not possible but it seems you can get the details of phone calls as discussed at below links:
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/17c6b467-ec66-4cf3-8772-54e77307ef68/windows-phone-programmatically-intercepting-incoming-phone-calls-through-app?forum=wpdevelop[^]

https://wpdev.uservoice.com/forums/110705-dev-platform/suggestions/1739685-support-intercepting-incoming-calls-and-message[^]

https://social.msdn.microsoft.com/Forums/en-US/305cb57a-93e0-4b7d-8b9e-479569a29fe4/incoming-call-interface?forum=vssmartdevicesnative#9cf64433-9e85-4d32-b0bc-7a5c42ed9627[^]

http://blogs.msdn.com/b/raffael/archive/2010/02/01/windows-mobile-programmatically-intercepting-phone-calls.aspx[^]


Then you can send SMS, by using C# code as samples are available here:
https://code.msdn.microsoft.com/windowsapps/Sms-SendReceive-fa02e55e/view[^]
and
http://www.c-sharpcorner.com/UploadFile/54db21/code-for-how-to-send-sms-in-windows-phone-7/[^]


Also, Popular app "Truecaller" faced issue regarding interception of phone calls "Due to limitations in the Windows Phone 7 OS we can not support realtime caller ID on incoming calls"....as given here:
http://www.truecaller.com/blog/truecaller-number-search-for-windows-phone-7-is-now-available-at-marketplace[^]

Disclaimer: I am not an expert in field of Windows phone native programming. I am trying to help whatever I know so far.

Please let me know if you get something better. Thanks.
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900