Call Events on Windows Phone 8 - windows-phone-8

I am currently 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?
Any help appreciated.

I've been searching for this for ages! Unfortunately, I concluded that it's impossible.
Really hope that Microsoft review this, and create a public class to access outgoing/incoming calls and sms.
It would help developers and the SO growth (with better and more interesting apps).

Related

Windows Phone 8 app publishing tool from the cli?

I've been researching if it's possible to integrate Android, iOS and Windows Phone 8 in a buildscript for Jenkins. The main goal is if there is a release in a specified branch in the given VCS, that it'll publish them to their responsible store. At the moment I've a way to publish Android and iOS, but it seems that there is nothing for Windows Phone 8.
The question is:
Is there a command-line based application that is able to publish Windows Phone 8 apps to the Windows Store?
If there is a way to integrate with a API or simply by doing some POST/GET requests, I would like to know as well. At the moment I'm researching that part.
The part of building and signing the APK's, APPX's and IPA's is already taken care off.
For iOS I'm able to use FastLane(Deliver) or
Nomadcli(Shenzhen);
For Android I'm able to use a Jenkins plugin(Google Play Publisher) or integrating with the API (there are various command-line based applications out there);
I would really appriciate if you can leave a answer! Thanks in advance!
There is no API for the Windows Store available (yet) that would allow you to do this.

Starting with audio in Windows Phone 8

I recently started doing some development in the Windows Phone 8 OS I'm pretty new on this. I was doing some searching about the fact to create an app who play any audio for some specific events/actions.
I was reading the Windows Phone API reference from Windows Phone Dev Center http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626516%28v=vs.105%29.aspx#BKMK_Win32andCOMAPIforWindowsPhone
But it seems a little confusing to me at first glance and I have the doubt of which one of the following should I use to accomplish my task.
The .Net API for Windows Phone
Win 32 and COM API
... or the Windows Phone Runtime API
Any help would be very appreciate
It really depends what you're trying to do. If you're writing a native application or are interested in cross-compatability with Windows 8 then XAudio2 or the WinRT APIs are definitely the way to go. If you just want to play some infrequent sounds (say, when you pop up a warning dialog) from within a XAML app then I have seen a number of approaches, teh easiest of which is probably just having a MediaElement in your XAML that you use to play the audio.

need to add crash reporting functionality in wp8 app

I have developed a Windows Phone app in WP7.1 and WP8. I need to implement crash reporting functionality to my app. Whenever a force-close happens, I'd like to get all the details of what happened. Does anyone know the best way to go about this?
The diagnostics element of Telerik's Windows Phone control suite includes error reporting.
Alternatively, you could look at one of the many Little Watson implementations.
On WP8 you can use Flurry which has an event handler for Unhandled Exceptions. It's not incredibly detailed I've noticed but it's free. The advantage being you can throw log error calls around to try and narrow it down.
I'm using BugSense and am very happy with it. Beside the crash reporting with notifications, you also get nice statistics, like which app version on which device is the most affected by a problem and so on. Usage is as simple as referencing the assembly and calling one init function, although you can customize what gets reported (custom values like a userId or some other metric). They provide free and paid versions of the system. The support has also been great. I highly recommend it.
you can try yandex appmetrica for win phone https://github.com/yandexmobile/metrica-sample-dotnet

observe foreground applications in windows phone 8

It is somehow possible to observe foreground applications in Windows Phone 8?
Observe the name of the opened app and maybe time of opening and closing.
Thanks a lot in advance.
There's no API in the WP8 SDK that would return that information. If that's a feature you'd like to see in future releases go to the wpdev uservoice, explain you usecase and get developers to vote on it.

How to get a list of system sounds in Windows Phone 8?

I'm working on an alarm app for Windows Phone 8 and I'd like to let the user pick from the available alarms tones (like the built-in "Alarms" app has). Is that set of sounds available to third-party apps? If so, how can I access it?
The list of built-in Alarm sounds isn't currently exposed for 3rd party apps. If this is something you'd like to see in future releases please open a new feature suggestion on wpdev uservoice with your usecase.