WP8 Phone and SMS events - c#

I have a Background Agent that needs to listen to the OS Environment and react to when I receive a Phone Call or an SMS message.
Once a Phone Call or SMS is received, I need to see the caller's phone number.
Is there anyway to do this? Does WP8 offer access to such API functionality?
All my Google searches returned negative results, so I'm only interested in responses by people who have encountered this problem as well.

This used to be possible with Windows Mobile (with an interceptor). However, this functionality has been protected in all versions of Windows Phone (7 and 8). I am assuming MS did this so that your app will not (and can not) interfere with Incoming Calls.

No, this is not possible. You can't access the phone or SMS properties or events you want with the current SDK.

Related

is this possible to develop Call Blocker app in Windows Phone 8.0/8.1?

I need to develop call blocker app in Windows Phone, I just heard that due to restriction of library, this is not possible in Windows Phone. Am I Right ?
Yes, You are right.
Call and SMS api is only available for OEM(Original equipment manufacturer) because of user privacy. So you can not use it.

Windows Phone 8.1 Runtime - How to get call information such as the history of incoming and outgoing calls?

Is there any way for getting incoming and outgoing calls log in Windows Phone Runtime 8.1?
I need to build an app that runs in background and saves calls log in the database.
If it's not possible in C#, is it possible to be done in C++?
Not possible with the current SDK, it does not matter if you use C# or C++.

Twilio - Making a call from .NET Windows application to a Phone

I am trying to write a windows application to call a phone number(Twilio verified) from my application directly.
What i was able to achieve was:
- To call a phone number and read out a voice sms as mentioned in the TWIML url.
- to call a phone number and then redirect it to another phone number ( by using in the TwiML).
But what i want to do now is:
- Call a phone number directly from the application using my Headphones attached to the pc where the app is running. Is there a way to do that?
Please let me know if my question is not clear enough and i should to try to explain it in more detailed format.
Thanks!!!
Twilio evangelist here.
Unfortunately today we don't offer a native Windows version of Twilio Client, which it what sounds like you are looking for.
The only suggestion I have is to use the .NET browser control to embed a browser into your application. I have not tried this, so I don't know what if any problems you'll have.
Devin

Detect incoming call iphone 5

I have a question regarding the possibility of creating a winforms application in C#, which is able to detect incoming calls on an iphone.
Here is the scenario:
the iphone is connected to the computer via a usb cable.
whenever the phone rings I would like to be able to do the following:
Retrive the phone number.
Use the phone number in the winforms application, to search xml filer.
Answer the phone via the application and play an automated voice message.
Is this even possible in C#? If so how could this be done and are there any libraries designed for interacting with an iphone using C#??
Thanks and regards.
Anders
There are no SDK's that allow you to develop .NET apps that interact externally with the iPhone.
If you want to write an iPhone app, but are intimidated by the learning curve you could check out MonoTouch. It allows you to write iPhone\Android apps using C#.

Reading SMS messages off Windows Mobile phone connected via ActiveSync?

I have a project I'm working on that requires our WPF application read SMS messages off of a user's connected Windows Mobile phone so we can display recent ones, etc.
I've had little luck with any of the libraries I've found. Most promising seemed to be OpenNETCF.Desktop.Communications but ultimately it seems like I won't be able to do what I need to with it.
What's the best way to read SMS messages off of a connected phone? Will it just be easier for me to write some sort of service app for the phone that acts as a server and our WPF app as the client?
Thanks!
There's nothing out-of-the-box that will do what you want. RAPI, which the OpenNETCF library wraps, has a set of communication APIs, but nothing for SMS. It does have the ability to snap-in custom APIs, so you could create a custom API and use that. The advantage with this strategy is you don't need any user intervention to get stuff onto the device (no copy and run of a service app stuff). The down side is that the custom RAPI DLL for the device must be native code.
If you go with your own mechanism, you can then use the POOM APIs in managed code to get the messages and ship them. The only challenge there is that you have to run some form of a "service" app on the device to listen for calls, which means writing your own protocol, which means a fairly large test matrix.
Jeyo have a product that pulls SMS messages from a phone into outlook PST files. Strikes me that you could just use that product and trawl the PST for recent messages (bit of a kludge I know, but if you were desperate) or talk to them about if they'll licence some of their code for you?

Categories