Force a call in WP7 - windows-phone-7

I wonder if it was possible to force a call without using the messagebox confirmation (in debug mode for example...)?
I use currently PhoneCallTask ​​to make a call.
(My application should never go on the market place)
Thank you for your answers,

There is no other way to make a call then using PhoneCallTask(), even if your app is not going on the marketplace.

The current Windows Phone SDK only provides the PhoneCallTask to make calls, and this class shows the confirmation message box, so the answer is no...

Related

Show a toast notification when UWP app is being uninstalled

I want to find a solution when the user uninstalls my app, a toast notification will be shown. But I could not find any solution for it. I tried using, the package uninstall event:
https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.packagecatalog.packageuninstalling?view=winrt-18362
But this only worked when the app was opened. Not when the app is closed. Is there any way to observe app uninstallation? I heard I can do that using win32 API but not sure how. Can you guys help me? If you can suggest any win32 API that will also be helpful.
You maybe able to use the desktop6:UninstallAction package extension, which requires the customInstallActions restricted capability. You specify an executable in your package, a name for the action, and arguments to pass to the executable. Have the executable when invoked with the arguments display the desired toast notification.

windows phone 8.1 receive a call

I am looking for a way to do a certain function each time the phone receives a call. How can I override the usual call serviece or add functionallity to it?
It's not possible to do this in WP8.1. You cannot hook into the calling system in this way.

Call ended event for Phonecalltask?

Is there an event for when a phonecall is made from windows phone, and the call ends? if not is it there another possible way of getting such an event?
thanx
No you cannot. Windows phone SDK is not providing any such API for developers. Sorry.
Within the Windows Phone SDK calls are currently regarded as "non of your business" as an app developer. You can "launch" a call with PhoneCallTask, but you won't know if the call actually happened, when it ended etc. From your app you will just have to make sure you'll handle the application lifecycle well.

Windows 7.1 SDK - Timing a call

I currently have a "dumbphone", but I'm trying to make an app that'll time and store the call duration of incoming calls for windows 7.1 ("7.5") phones, for the user scheduling purposes.
However, after extensive searching and googling, with topics like this one:
Windows Phone 7 - How to calculate call duration or termination
it seems that the Windows 7/7.1 SDK does not allow access to recognizing when a call is coming in. I've read about obscure and unobscure, but that this wouldn't be a good idea since it would start the timer anytime the UI hides the program, not just calls.
I've thought that maybe I could just pull the call duration or the start/end time from the call history, but windows 7 SDK doesn't support that either it seems.
So I decided to seek help. Is there a way to make this work? Is there some clever way to recognize when a call is incoming and stopped? Or some clever way to pull call times/durations? Or maybe a way to detect when the user presses that "accept incoming call" button? Or maybe a way to single out when a call is obscuring the UI?
Any help would be greatly appreciated. Thank you
Due to security reasons your application does not have any kind of accsess to call history ect. So you are in a sendbox and you don't know nothing about phone calls.
From the Windows Phone SDK, there is no way to achieve this!
The only thing I can think of is that when a call comes, the current app gets notified that is now Obscured because a new screen is now on top of it (the caller ID screen), and will get notified when it gets back to focus.
But the truth is that this happens even if a SMS message notification pops on the screen and the user taps to read it, or some app gets a notification pushed...

Call End Notification in Windows Phone and Launching App

Does Windows Phone (any version) provide call start/end notifications? And if yes is it possible to launch an application when a call ends?
No, this is not possible at this time. See this other question where the OP wants to do something similar.

Resources