如何使用C#识别主叫人 [英] How to identify the calling person using C#

查看:69
本文介绍了如何使用C#识别主叫人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我的应用程序,我想知道在我的Windows Phone上给我打电话的人的详细信息(姓名),然后立即向他/她发送自动消息。

我想要使用C#编写此段。

解决方案

嗨Jayanti,



无法截取来电但似乎你可以获得电话的详细信息,如下面链接所述:

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 [ ^ ]




然后您可以使用C#代码发送短信,因为这里有样本:

https://code.msdn.microsoft.com/windowsapps/Sms-SendReceive-fa02e55e/view [<一个href =https://code.msdn.microsoft.com/windowsapps/Sms-SendReceive-fa02e55e/view\"target =_ blanktitle =新窗口> ^ ]



http:/ /www.c-sharpcorner.com/UploadFile/54db21/code-for-how-to-send-sms-in-windows-phone-7/ [ ^ ]



此外,热门应用程序Truecaller面临有关截取电话的问题由于Windows Phone 7操作系统的限制,我们无法支持实时来电显示来电......如此处所示:

http://www.truecaller.com/blog/truecaller-number-search-for-windows-phone-7-is-now-available-at-marketplace [ ^ ]



免责声明:我不是Windows手机本机编程领域的专家。到目前为止,我正试图帮助我所知道的任何事情。



如果你有更好的东西,请告诉我。感谢。

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#.

解决方案

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.


这篇关于如何使用C#识别主叫人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆