Redirecting traffic on Windows Phone 8(.1) - windows-phone-8

We are looking for a way to programatically intercept global network traffic on Windows Phone 8 or Windows Phone 8.1.
I currently know two ways to intercept traffic:
Proxy server
VPN (proprietary network, where all traffic is routed through a specific server)
On both Android and iOS we use a proxy server. On Android we use specific manufacturer SDK's to set proxy configuration and on iOS install a proxy profile.
We wish to implement the same functionality on Windows Phone 8 and newer.
According to my research, Windows Runtime supports proxy configurations in code with Windows.Networking.Connectivity namespace. But according to the documentation, working with ProxyConfiguration class, the code throws NotImplementedException on Windows Phone 8.
The Windows.Networking.Vpn namespace is also not available on Windows Phone 8.
So apparently, both options are out here.
My first question is:
Is there any other way I could intercept and redirect traffic on Windows Phone 8?
Further research:
According to the documentation of newly released Windows Phone 8.1 SDK Preview, there are some changes in those namespaces. At least Windows.Networking.Vpn is now available, I am not yet sure for ProxyConfiguration class.
Is there any sample code or examples available on whether either proxy configuration or setting VPN programatically is possible with Windows Phone 8.1 SDK?
I also cannot seem to find the correctly updated documentation for the newest SDK yet.
Thank you!

Windows Phone 8.1 supports the ProxyConfiguration class, BUT it is ment to get readonly info about the set proxies. So this is not a way to set a proxy in Windows Phone 8.1.

Related

Is it possible to set up assigned access for a Win 8.1 store app on Windows 10?

I can successfully run a windows 8.1 store app without any issues however I cannot get it to work with assigned access on Windows 10. Is it even supported? or do I have to migrate the app to a UWP app?
On one of my windows installation it doesn't even appear in the list of available apps. On another installation it appears as an app but just immediately exits when the application starts.
Try to set assigned access for windows 10 application (not for Windows 8.1 app). Yes, it is supported on Pro, Enterprise and Education versions.
You can set it by different ways like it described in this topic:
Set up a kiosk on Windows 10 Pro, Enterprise, or Education

How can I port a Windows Phone 8 app to Windows Phone 8.1?

I've been working on a Windows Phone 8 app, which I now want to change to be Windows Phone 8.1. How can I do this?
Should I create a new Windows Phone 8.1 app and copy all my existing files into it? Or is there an automated way for me to upgrade the existing solution to 8.1?
There are two ways to do that:
like in comment - right click on oyour project and you should see Retarget to Windows Phone 8.1
or you can open Properties window of your project and the in dropdown box Target Windows Phone OS version you can choose Windows Phone 8.1
In every case the VS should ask if you are sure to do that - it's one-way operation, so it's worth to make a backup of your solution. As WP8.1 has backward compability, in most cases there shouldn't be any problems.
Some clarification for the followers:
As WP8.0 apps are Silverlight, after retargetting it will still be a Silverlight app but WP8.1 (some new features and enhancemens).
Thought, if you want to retarget to WP8.1 Runtime, it's a totally different thing - it's a different type of an app, different API and more. You will have to port it manually. Note that not all features from WP8.0 are yet available in WP8.1 Runtime - here is a good article about that.

How to reference mshtml.dll in a windows phone 8 project?

Based on this article, windows phone 8 has Trident (mshtml).
So, how can I add the reference to it in a WP8 project?
You can't. Remember that Windows Phone runs in a sandboxed environment and third-party applications do not get low-level access to system resources.

Windows 8 and Windows Phone 8 Over the air installation of apps

Is there a way to install signed applications over the air on the windows 8 and windows phone 8 platforms?
I'm looking for something similar to iOS wireless app distribution with its itms-services:// uri scheme. Basically, I want to direct users to a web page where they can download and install a signed application package on their device by clicking a link.
But it seems (from the information I gathered from the available documentation) that Microsoft allow app installation only by using the Windows Store, or by Sideloading (in the case of Windows RT, 8 Pro and 8 Entreprise) or by enrolling users phones for company app distribution (in the case of Windows Phone 8).
are these really the only methods available?
Thanks in advance.
For the Phone you could use the beta testing feature. It will not show in the store and only be available for users you have registered via their Microsoft account formerly Live ID. The app will run through certification and therefore will not be hosted on your own server.
For Windows 8.x you will still have to go the side loading route as there is currently no beta testing feature available.
HTH

Windows Phone 8 and D3DCompiler

For now in windows RT it is possible to access D3DCompiler.h, but application will not pass the store test (this is corrected in windows 8.1).
Is there a way to add D3DCompiler in windows phone project? (Mostly I need reflection support, shaders are generally precompiled). I tried to add the ARM build reference but it doens't seem it wants to include it (some xap security?).
Please note that for now I don't need store deployments, so if it works for development purposes that's fine (and either c++/sharpDX solution is pretty welcomed).
D3DCompiler was not available for 'production' use with Windows Store apps for Windows 8.0 or Windows phone 8.0. It was available for development, but the D3DCompiler #46 DLL itself will not pass the WACK tool for submission to the store.
It is available with Windows Store apps for Windows 8.1 and Windows phone 8.1. The D3DCompiler #47 DLL is included as part of the OS now. See this blog post.