开发C#应用程序以指示我的手机的来电 [英] develop c# application to indicate an incoming call to my mobile
问题描述
我正在开发一个应用程序来应答和拒绝手机的来电.我的手机作为GSM调制解调器与我的系统相连.我正在使用C#串行端口通信在我的应用程序中实现AT命令. br/>
我的问题是,当有来电打入我的手机时,我的应用程序指示您有来自...,.参加或拒绝的来电".
该对话框会在来电时显示,表示您正在通话,我也想添加铃声.
如何在C#.NET中实现呢?
请回复我............
非常感谢……...
Hi, I am developing a application to answer and reject a incoming call to my mobile.my mobile is connected with my system as a GSM modem.I am using C#-serial port communication to implement AT commands in my application.
my problem is,when an incoming call come to my mobile,my application indicates "u have a incoming call from ...,.Attend or reject".
the dialogbox appears at the time of incoming call to indiate a call and also i want to include a ringing tone.
how can i implement this in C#.NET?
pls reply me............
Advanced thanks.........
推荐答案
如果您正在询问如何播放音频文件,那么...
If you are asking how to play an audio file then...
using System.Media;
SoundPlayer sp = new SoundPlayer("SomeTestFile.wav");
sp.Play();
还是您在问其他问题?
Or are you asking something else?
这篇关于开发C#应用程序以指示我的手机的来电的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!