Receive calls Windows Phone 8 - c#

I am looking for events that I can subscribe to receive notification of call events (outgoing or incoming) on Windows Phone 8. Also if possible try to get outgoing\incoming phone number however I couldn't find any Windows Phone API for doing this. Is there any way I can do using C# or Native C++ on WP8 platform? Is there any Private API I can use to perform this?

One would wonder why you would want to do this..
However for obvious reasons Microsoft does not allow apps to get info such as incoming/outgoing calls. That is why you couldn't find any documentation for it. So the answer to your question is going to be a NO I'm afraid.

Related

Using the narrator in C# windows store apps

the narrator API (System.Speech) is not available for windows store.
Is there an alternative API or method for using this?
I found that there is a text-to-speech function as part of the Microsoft translator service, however since the narrator is already available, it would be silly to have to use this service for that, so I'd rather use it directly if possible.
I thought of maybe running a command through CMD.exe to text-to-speech something, but in windows store apps it's impossible to launch external processes, also I haven't found a command line interface for the narrator anyway.
Does anybody know of any method of doing this?
Windows 8.1 has offline text to speech support. Here's MSDN sample.
Are you trying to implement accessibility? If so, then this may be what your looking for:
https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.automation.automationproperties
You can set the Name attached property to whatever you would like to have read.

notifications on windows RT

I couldn't find this information, do we get notification callbacks when our app is running in background? I understand tiles will get updated, but if we can get callbacks in realtime, we can get our stuff done.
Im sure this is not possible in wp7, is there a way in RT metro app?
The answer is yes — please see Raw notifications sample on MSDN.
Also, look at Quickstart: Creating and registering a raw notification background task (Windows Store apps using C#/VB/C++ and XAML) (Windows) article on MSDN.
UPDATE: For server-side implementation info you can try another great quickstart.

Check if phone is in call (WP7)

In windows phone 7 ... Is there is a way to check if the phone is now busy with a call as in android
if yes, what is the name space that serve this?
As others have commented there is currently no API within the Windows Phone SDK to detect whether a call is in progress.
Tim Askins wrote a fairly detailed post on his attempts to get around this but ultimately it just isn't possible.

Windows Mobile - Attach on call starting and recording a call

I need to implement a small feature in my project for windows mobile 6.0+ platform. I want to attach to an event when a phone call is answered and to record the 2 way call. I saw this question:
Windows Mobile - 2 Way Call Recording (C#)
But it doesn't work in my case. When I start to record the microphone is blocked and the person on the other side can't hear my voice. I thought that maybe the problem is in the telephone(HTC Touch HD) but there are some programs that work, for example:
http://www.1800pocketpc.com/record-phone-calls-on-windows-mobile-htc-touch-hd/2925/
http://forum.xda-developers.com/showthread.php?t=536472
I have two questions:
How to attach to a phone call?
How to record the phone call?
I appreciate your help.
Thanks,
Ivo
It's not possible. This is by design. It's illegal to record a call without informing the other party involved. Same is the case with iPhone. Though there are services where you call and they call other party and record the conversation, but that's server side.
Check this out. According to the posts in the link below there is a hardware limitation preventing this ability in an application.
http://social.msdn.microsoft.com/forums/en-US/vssmartdevicesnative/thread/65897b3b-da11-458b-b191-b9e4f6825843/

How can I control my winmo phone?

I have been trying to find a way to control my winmo phone from my pc. (HTC S740)
What I want is to be able to call a number from an application, answer the phone from an application and hangup the phone from an application. It should also be able to track how long the ongoing call has been.
Any libraries out there that lets me make such an application with C#?
(The phone is connected to the pc via usb in Windows 7.)
You can use RAPI to invoke functionality on the device. You might need to write a wrapper.
I believe that this answer by ctacke should help you perform the task.
You can look at OpenNETCF library, which have many utilities to call native APIs that can help you, but i didn't hear of any library to help control your phone remotely.

Categories

Resources