observe foreground applications in windows phone 8 - 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.

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.

On a Windows phone, how can I block a phone number with the Windows 8 API?

I saw state and notification broker for Windows Mobile, but I can't find anything like it for Windows 8.
I found this for the older OS:
http://www.codeproject.com/Articles/32200/Own-your-phone-Taking-back-control-of-your-mobile
Didn't see anything on MSDN. Where can I start on this?
I don't care which language. I have a Nokia if it matters.
EDIT: Does this mean I can't build one?
https://dev.windowsphone.com/en-US/OEM/docs/Customization/Phone_call_SMS_filter_applications
These APIs are not exposed to third-party developers.
You can not do this unless you are a OEM. Only OEMs have this functionality enabled for them. For normal developers such API does not exist for Windows Phone. Only partners with Microsoft can download the source code or view it.

How to test windows phone 8 emulator without Hyper-V?

I have to create windows phone 7 or 8. I installed visual studio 2013. It came with windows phone SDK.
I have problem. I have Windows 8.1 pro OS. But my processor does not support Hyper-V platform. I did enable BIOS settings. Even though i did not get this.
Any alternative way to test or debug app in emulator.
Any idea or suggestion should help me a lot.
Thanks in advance.
make sure you have enable hyper V from control panel also.
The best alternative would be to test your app on an actual device (this does not require Hyper-V). For more information have a look at this discussion.
Not the most convenient way, but simple and it's working:
You need to register account at developer.nokia.com and follow this link http://developer.nokia.com/resources/remote-device-access. You'll find list of devices that you can use for testing your apps. Just choose one of them and reserve it and use it as you want!
This video may help you to start:
http://www.youtube.com/watch?v=Z-GbgPnTSxI&sns=tw

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.

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.