How can I start phone emulator on HyperV or share phone through RDP? - windows-phone-8

I want to see how far I can take my Surface 2 for developing in Visual Studio 2013. Please note that this is a Surface 2 running WinRT - not full version.
Here is my setup
Surface 2 on desktop mode with RDP.
Windows 2012 running HyperV with a Windows 8.1 VM.
On the Windows 8.1 VM I have installed VS 2013. Naturally, HyperV gets installed as well.
My problems
My first thought was that I could use the Emulator but it complains that it failed to start because some of the Hyper-V components are not running. After some research this seems to be the result of Hyper-V in Hyper-V.
Then I tried to use an alternate approach. To share my Windows Phone through USB. I inserted my "Nokia Lumia 1020" in USB port of Surface 2. I could then see it in my desktop. Also, when I started RDP application I could see "Nokia Lumia 1020" under Local resources->Other supported Plug and Play devices. I checked it for sharing. I connected again but the phone was not visible on the guest operating system.
Anyone else done this? Either know how to circumvent the Hyper-V in Hyper-V or share the phone for development (through RDP).

You can't use hyper-v without windows 8 pro, I'm sorry... Try nokia's device rdp (http://developer.nokia.com/resources/remote-device-access) ...

Related

Windows phone - You have installed the maximum number of development app

I have a windows app that's running for a while and recently when I'm trying to deploy the application on windows phone running windows 8.1 OS(using visual studio 2013 and windows phone application deployment) I'm getting the following error:
"You have installed the maximum number of development apps. These apps are installed to your device when you start them in Visual Studio or when you use the App Deployment Tool. Please uninstall one of them and then try again."
I've tried to reset the phone, renaming the app and the phone on windows explorer, unregister & register the phone and also uninstalling all the other applications on it.
The problem is happening on two different devices Nokia Lumia 630 & Nokia Lumia 920.
Is there another way to approach this?
Thanks in advance
This issue has been fix now and we can register our Windows Phone 8.1 for developing:
Could you please try to unregister the Phone from the Dev Center and register Phone again to see if it works?

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 :)

How to debug windows phone apps on windows tablet

Ok so I got windows 8.1 nextbook to test on. I created some basic browser app in visual studio running on virtual windows server 2012 r2. My main machine is windows 7. When I connect with USB cable nothing happens (who could have predicted that). I thought I could deploy my app on tablet and do a debug like that but haven't find a way to do it. Anybody here with experience in this scenario, I googled everywhere and the only thing I found is that documentation sucks
You cannot run a Windows Phone app on Windows. You need a Windows Phone or a Windows Phone emulator to run the Windows Phone app. To run on Windows you need to write a Windows Store app. Windows 8.1 on a tablet is the same as Windows 8.1 on a desktop or laptop computer.
In your case you'll probably need a physical Windows Phone since you are already running virtualized. The Windows Phone emulator is a Hyper-V image and is not supported nested in a Hyper-V guest OS.
If you write a Windows Universal app then the code will be mostly the same for the Windows and Windows Phone targets (the UI layer is usually different), so you can write and test the bulk of the app as a Windows Store app to run on your tablet and then recompile for Windows Phone.

WP8 emulator on Vmware player not running

I have created a vmware of windows 8.1 in order to develop a wp8 app.
My pc specs :
i7 2670 (2.2)
8 gb ram
win 7 64
My VMware Player spec:
60 gb hdd
4 gb ram
I have installed in the VMware Player visual studio 2012 update 4, and all the wp stuff.
When i am trying to build my project i am getting this error:
emulator Cannot assign the specified number
of processor for virtual machine is out of range
I have searched on the internet but all links i have found refereed to parallels. Nothing helpful for VMware .
I have read this article. I have enabled hyper-v, but i am not sure if VMware can support hardware virtualization, which i think is needed.
My question are 2:
Is these any possible solution to this problem?
If i got a device and try to debug on device i suppose that i will not have any problem. Am i suppose well?
I will appreciate any help.
Thx for your time.
VMWare Player v6. You need to tick Virtualize Intel VT-x/EPT or AMD-V/RIV in virtual machine configuration for WP emulator running.
As per the comments on your question, I'll explain:
You can perform Windows Phone 8.x development on Windows 7 or later provided you have a physical device, however if you want to use the Windows Phone 8.x emulators then you need to have Hyper-V available, this is because the WP8 emulators run as Hyper-V virtual-machines, side-by-side with your main operating system.
Therefore, to use the WP8 emulators you must be running Windows 8 Pro, Windows 8 Enterprise or Windows Server 2012 (or later, e.g. Windows 8.1 Pro). The standard "Home edition" of Windows 8 does not include Hyper-V. Read up about Client Hyper-V on TechNet.
Hyper-V requires hardware virtualisation and, as an accelerated platform with hardware requirements, will not run within another virtualiser (this is in contrast to how you can run VirtualBox or VirtualPC under Hyper-V). You must be running Windows 8 Pro as your "root" operating system.
You actually also need to edit the .vmx file in VMWare Player in order for Hyper-V to be available to the Windows Phone emulator.
Give your VM >= 4GB RAM, 2+ processors, then open the .vmx file for the VM and add:
hypervisor.cpuid.v0 = “FALSE”
Then save, start the VM, and install Windows.
I'll also point out that this works flawlessly on my MacBook Pro Retina running a Hyper-V capable Windows distribution inside of Parallels and Visual Studio 2013 CE.

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.