Answer call

Hi experts,

How can I make code to answer any incoming call automatically? I will appreciate answer is with code in c# or vb.net.

Regards,
mukesh39Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mukesh39Author Commented:
Waiting for reply!!!
0
pgnatyukCommented:
What do you mean "to answer any incoming call automatically"?
You know that Microsoft does not like such things.  The phone itself will interrupt any running application and the user will answer. If you will override this behavior your application will be not certified by MS.

From own experience I can say that the users were happy to have a button on our application main screen that call the standard Windows Phone application. We simply past the phone number from our application and call Dial.

Here, in MSDN thread, you will a solution in VB - press the talk (VK_TTALK) button instead of the user:

http://social.msdn.microsoft.com/forums/en-US/netfxcompact/thread/a91d7975-cfe6-4479-b73e-169ec3a14762/
http://social.msdn.microsoft.com/forums/en-US/vssmartdevicesvbcs/thread/77a4c230-494c-4636-a798-0fc89fff73e8/

You can use TAPI:
Creating a custom Phone App on Windows Mobile (Part 1)
http://www.devsource.com/c/a/Architecture/Creating-custom-Phone-App-Windows-Mobile/2/

The SDK also has few samples (there is an example how to make the call):
http://msdn.microsoft.com/en-us/library/bb158662.aspx

CodeProject. TAPI 3.0 Application development using C#.NET
http://www.codeproject.com/KB/IP/devangpro.aspx
(I'd recommend you to use this article).

One more example:
How to manage incoming call with OpenNetCf TAPI (Windows Mobile C#)
http://programmaremobile.blogspot.com/2009/10/how-to-manage-incoming-call-with.html

Here is an interesting article (just for your to know):
Windows Mobile Revolution: call recording supported on almost ALL handsets!
http://www.smartphonemag.com/cms/blog/9/windows-mobile-revolution-call-recording-supported-almost-all-handsets
0
pgnatyukCommented:
Here you will see how to make the phone call in C# and VB:
http://msdn.microsoft.com/en-us/library/aa446543.aspx
0
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

pgnatyukCommented:
I provided all information needed including the examples of real VB and C# programs.
0
pgnatyukCommented:
I think, http://a#32052892 is the answer.

0
mukesh39Author Commented:
Hi,

Can I add my comments? My question was "automatically answering incoming call", none of reference works with Windows Mobile.

Let me know what can I provide to help moderator.

If expert can provide me help, still I am open to accept solution.
0
pgnatyukCommented:
Guys, you can close this. I do not need the points. It is simply a matter of a fact: http://a#32052892 is the answer. All examples and all explanations are about Windows Mobile. For example:

How to manage incoming call with OpenNetCf TAPI (Windows Mobile C#)
http://programmaremobile.blogspot.com/2009/10/how-to-manage-incoming-call-with.html

The subject is difficult. There are the privileged API. It can work differently on different devices. It is not for a beginner.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mukesh39Author Commented:
It did not helped me to solve problem.  I got solution from another forum.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Smartphone Programming

From novice to tech pro — start learning today.