How Windows Phone 8 mobile devices connected to the local Web services? - windows-phone-8

How Windows Phone 8 mobile devices connected to the local Web services ?
"System.Reflection.TargetInvocationException" unhandled exception of type occurs in System.Windows.ni.dll

Although your question has many room for improvement you could find a solution here Consuming Local Web Applications In short: you need to alter the configuration of IIS in order for Windows Phone 8 to be able to use your web services.

Related

Unable to register my Lumia 1020 as a testing phone for windows phone apps

I have a Nokia Lumia 1020 that I need to register as a testing device for my Windows Phone Apps. It is running Lumia Cyan thus Windows 8.1. I have Windows Phone SDK 8.1 and 8.0 installed on my machine and when I try to use the Windows Phone Developer Registration (8.1) interface or the normal one (Windows Phone Developer Registration unde Windows Phone SDK 8.0 i keep getting the same error. Unable to connect to a Phone. Make sure that the Windows Phone IP over USB Transport Service is running. I try to restart the service, switch ports, switch from Wi-Fi to 3G network on my phone. Nothing works. I have ensured that the Phone is showing as a device under File Explorer and when I connect the phone to my computer it does launch the Windows Phone app for desktop well. I am not sure what to do at this point and it's getting frustrating. I have tried to reinstall the SDKs and still nothing. I do have a developer account and developer account details intact. Please help... someone.... anyone :(
I finally figured it out. I went to device manager and found under Universal Serial Bus Devices and found device drivers of my phone on all the ports where I had connected the USB cable. I then right-clicked on one that showed that needed an update. I clicked on update device driver software where it scanned for updates and found out that the driver was up to date then I realized that it was not enabled. I enabled it and it was able to recognize the phone. However I had to keep restarting the service since the software kept going offline as well as switching from 3G to Wi-Fi. And it finally worked :)

Let my Windows Phone use my PC internet connection

I am creating a Windows Phone 8 app for the 1st time.
I am using VS2013. My app talks to my server and acquires an image. Is there a way for my Phone to use my internet connection at all?
I use to be able to do this with Windows Mobile Compact CF. I cannot see how to do this in my ide?
What I need is to run my app via my IDE/Debugger and for my mobile device to use my PCs internet connection as my GPRS connectivity is poor where I am.
Thanks
When uses Windows Phone 7.x with Zune, you can.
But when Windows Phone 8 comes, you cannot.
You can use the Windows Phone Emulator, it will use your PC's internet connection, or you might be able to share your PC's internet connection via wireless or Bluetooth (with some hardware on your PC).

Redirecting traffic on Windows Phone 8(.1)

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.

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 SDK debug wont start

I have installed Windows Phone 8 SDK, openened the VS express for Windows Phone,
created New Project with simple app, pressed F5, but the emulator wont start.
Is comes up with error:
Exception from HRESULT: 0x89721800
I don't have any network drivers installed which should be called Windows Phone Emulator.
I have Windows 8, with built-in Administrator account and full privs.
P.s. Main reason for this I want to deploy some apps on my Nokia Lumia 800.
I have unlocked it, but when i was deploying app with deployment tool, it came up with the same error message.
P.p.s I've installed Windows Phone SDK 7 and there the emulator worked, but i can't find any way to deploy app to phone
I blogged about this a couple of weeks ago. You can see the full details here: Resolving windows Phone Emulator Problems
XDE cleanup, and Hyper-V is a very common reson for problems with the emulator!
Regarding deployment to phone from windows phone sdk 7, remember to change debug device from "Emulator WVGA 512 MB" (or what ever you use) to "Device", and always start Zune before your start debugging and deployment.
If you had installed Windows 8 (Single Language or Home Edition) with Windows Phone 8 SDK you can't develop mobile applications because it doesn't support Hyper-V.
The only way to work with Windows Phone 8 is to change your OS to Windows Pro or higher.