Check if phone is in call (WP7) - c#

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.

Related

Voice Command Service in wp8.1 (not silverlight)

I'm trying to use voice command service in windows phone 8.1 application, but I can't find the appropriate namespace (Windows.Phone.Speech).
Is it only available in wp8 or Silverlight ?
Thanks a lot!
I ran across this question while looking for the answer to this myself today; so hopefully this will help someone else.
Yes! It does exist in Windows Phone 8.1 (WinRT). It is now called VoiceCommandManager however, and is under Windows.Media.SpeechRecognition:
https://msdn.microsoft.com/en-us/library/windows.media.speechrecognition.voicecommandmanager.aspx
Noting also that they are deprecating this in Windows 10 (there is a note to that effect on the page), which probably accounts for why this was so hard to track down. I also found this handy sample project:
https://code.msdn.microsoft.com/windowsapps/Voice-Commands-for-Windows-2f808ac6/

Receive calls Windows Phone 8

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.

Change LiveTile on Windows 8 app while running

I want to change the LiveTile of my Windows 8 app while it is runnig. So the user can configure something in the app and then I want to display a local stores image as LiveTile.
How can I realize this scenario?
Here is a blog post with code samples on how I implemented live tiles, with links to other resources that helped me: http://blogs.msdn.com/b/jennifer/archive/2012/11/20/real-world-live-tiles-working-with-live-tiles-in-windows-8-apps.aspx
You use The TileUpdater.update method, see http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.notifications.tileupdater.update.aspx. Examples of this are in the App Tiles and badge sample, scenarios 2 and 3 (for images). You can find the sample at http://code.msdn.microsoft.com/windowsapps/App-tiles-and-badges-sample-5fc49148#content.

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