Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.........
Posted

1 solution

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?
 
Share this answer
 

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