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

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.

Related

How to implement Branch.io in windows phone application

I am trying to implement a referral program in my windows phone application. Where a user shares a link in some social site and gets reward points if someone installs the app using his/her link. For android and/or iOS, developers can use Branch.io SDK for retrieving the information of the referrer. Now, I couldn't find any instructions on how to do it in a windows phone app in their official website.
Does anyone know how to do this?
Edit: It looks like Branch.io is not available for windows phone. Is there any alternative to Branch.io for wp platform?
Alex from Branch.io here: Windows Phone has around 0.4% market share, so we don't currently offer an SDK for that platform. It's possible you could roll your own 'mini SDK' using our REST API for just the functions you need.
Sorry not to have better news!

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.

Is it possible to create a headless accessibility tool for windows phone?

We've just successfully created an accessibility app for android (think screen reader) that works across all applications without needing to first launch a specific app, via the accessibility service.
Is it possible to create an equivalent headless service for Windows Phone? UIAutomation is available for WinRT but I don't think it's available for Windows Phone 8.1 or 10 in the same way. How could I achieve something like this?
It's currently not possible to build a system-wide accessibility app on Windows Phone 8.x (or 10 for that matter). Please consider adding a suggestion on UserVoice.

CurrentApp.ReportConsumableFulfillmentAsync vs CurrentApp.ReportProductFulfillment

I have to implement "in-app purchase" both for Windows 8.1 and Windows Phone 8 app. The API looks the same for both platforms, besides one method: "CurrentApp.ReportProductFulfillment" (only WP has it). However, both platforms have "CurrentApp.ReportConsumableFulfillmentAsync".
My preference is to write fully reusable code (same code) for both platforms, if possible. MSDN documentation is not clear enough, so I want to understand:
Can I use ReportConsumableFulfillmentAsync on WP instead of ReportProductFulfillment? Are they have the same functionality? (maybe they left ReportProductFulfillment for backward compatibility).
Do I have to call ReportConsumableFulfillmentAsync after buying consumable only, or after every store purchase?
Thanks!
According to MSDN ReportConsumableFulfillmentAsync is Windows Phone 8.1 API, so you cannot use it when creating Windows Phone 8 apps. Stick with ReportProductFulfillment and Windows Phone 8 apps for now, it will take some time for Windows Phone 8.1 to get on the market
Only for consumables
If your are looking or a nice in-app wrapper, take a look at this https://github.com/igorkulman/Kulman.WP8/blob/master/Kulman.WP8/Services/WindowsPhoneStoreService.cs

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.