Is it possible to use Windows Phone 8 Emulator outside of current PC - hyper-v

I've installed Windows 8 as guest in Hyper-V VM. Tried to launch WP8 emulator and failed.
So I have a question: Is it possible to reuse WP8 emulators in host system to develop inside virtual machine?

As far as I know - it's not possible, you can only debug on real devices or emulators running on the same machine. Also the machine for running emulators must run on bare metal, not in virtualized environment because of some requiredm CPU features like SLAT.

Related

Windows virtual machine on a Pixel Slate?

I'd like to install a Windows virtual machine on one of my Chrome OS devices, ideally my Google Pixel Slate tablet, as it's quite powerful and is not being used. Is it possible to run a Windows VM on a Pixel Slate tablet? If so, which virtualization platform should I use?
I also have a Lenovo ThinkPad X230 on which I've installed Chrome OS Flex. It's a bit slow, but is also an option. As a last resort, I could also use my ThinkPad Carbon X1, which is running Chrome OS Flex, but I'd rather not, as it's my main computer. It's my understanding that Chrome OS Flex does not currently support Windows virtual machines, although Google is planning this for the future.

Android Simulator not run, become Hyper-V not available in Windows 10 Home

I'm studying React Native.
Unfortunately Windows 10 Home is not Support Hyper-V. Since, i can't use Android Studio Simulator.
Is there any way to run Simulator.
I have no idea where you got your information that you can't use it.
Android Studio's emulator uses HAXM (Hardware Accelerated Execution Manager) on Intel CPUs, which in return is also used by Hyper-V.
Hyper-V is a very self-absorbed technology that doesn't play well with others (just like many other things Windows offers) and having it ON is actually what screws things up and you need a workaround in that situation.
I also have Win10 Home on one of my computers and tried running the emulator with a default Basic task project on a virtual Pixel 2 with Android 8.1 Oreo. It works.
Sorry, mine was AMD Processor, for AMD HAXM no need, instead have to install Hypervision for AMD Processor in Sdk tool.
It worked.

Use of Hyper Visor to run the Windows Phone Emulator

I am really new to Windows Phone 8 App development. I would be grateful to you if you can answer my question. I have a machine with Intel(R) Core(TM) i3 processor and when checked I found out that my virtualization setting enabled.
I installed Windows Pro 8.1 in to my machine and then it indicates that my Hyper Visor is default switched off and I had to run it. But when I run it after making some of the changes by restarting the machine, suddenly for some unknown reason it undoes every change made finally leaving the machine with no Hyper Visor running.
I come across the same process when I am to run the Windows Phone emulator to test Windows Phone 8 Apps.
I hope my issue is clear to you all, can someone help me to fix this issue or tell me the exact reason behind this?
I would look at my Windows Event log and see if you perhaps there's a problem with Hyper-V being incompatible with a driver or something like that. It may be failing to reboot and the doing a system restore to get the machine back to a bootable state (by rolling back Hyper-V). I've had problems with Hyper-V and my HP laptop's blue tooth drivers:
Here's the thread where I found out about that:
HP Bluetooth / Hyper-V woes
Updating the driver to the newest version on HP's site fixed my computer for a while, but then I had problems with Windows Update hosing my machine with an update to the Bluetooth driver.
I seem to have fixed it for good by going to RA Link's website and downloading a version of the driver that's newer than the one on HP's website. I'm not at my personal computer right now, but if you'd like I can see if I can find the driver version that seems to have fixed my Bluetooth/hyper-v problems for good.
-Eric

Emulator cannot run because of Hyper-V Error

I have this error message:
The windows phone emulator requires Hyper-V. Your PC is missing the
following pre-requisites required to run Hyper-V:
I cannot run my project on windows 8 phone emulator since days. I searched on internet, still I couldn't solve my problem. Everyone says open Control-panel, then click turn-off or turn on windows features, then choose hyper-v option. When I clicked turn off or turn on windows features there is no option about Hyper-V. Can anyone help me?
My computer features:
windows-8 Professional (64Bit)
intel core i7 processor
8Gb ram
First step
1- turn on hyper-v from bios
read this :
http://blogs.technet.com/b/canitpro/archive/2014/03/11/step-by-step-enabling-hyper-v-for-use-on-windows-8-1.aspx
2- turn on hyper-v from windows
At the Start Screen, swipe the right hand side of the screen and select the Search Charm.
Type turn windows features on or off and select that item.
Select and enable Hyper-V.
If Hyper-V was not previously enabled, reboot the machine to apply the change.
I formatted my os from windows 8 pro to windows 8 enterprise and I solved my problem easily.I know it is not a logic solution but it worked.
In order to run Windows Phone 8 emulator you need to enable Hyper-V technology in the BIOS of your PC. See the detailed article on how to do this.
First you must turn on hyper-v from bios and then turn hyper-v from windows featured list restart and then will work ..

Can I use the Kinect API on a virtual machine?

This programming guide implies that this is possible, so I figure what the heck.
Right now, though, it doesn't work.
Host OS is Vista 64-bit, VMWare Workstation 6.5.3 is running Windows 7 Enterprise 32-bit.
Installed Software on the VM:
Visual C# 2010 Express
Microsoft Server Speech Platform Runtime
Microsoft Server Speech Recognition Language - Kinect
Microsoft Speech Platform SDK
Kinect for Windows SDK Beta
I plug in the Kinect, the device is recognized by the VM, then I run the Sample Shape Game and it doesn't recognize the device. It says "Plug in the Kinect and try again" which turns out to be error 0x80080014, which leads to
http://social.msdn.microsoft.com/Forums/en-US/kinectsdknuiapi/thread/4da8c75e-9aad-4dc3-bd83-d77ab4cd2f82/
which gives me two things to look at:
is it plugged in with the special cable? yes
are all 4 entries in the Device Manager? no
In the Device Manager, I see a "Microsoft Kinect" group containing Microsoft Kinect Audio Control, Microsoft Kinect Camera and Microsoft Kinect Device, but there is nothing under "Sound, video and game controllers" other than VMware VMaudio. "Kinect USB Audio" should be there.
I'm guessing that there is some further twiddling I have to do with the VMWare USB / hardware options (whatever that tray with the USB / CD / HD / floppy etc icons is called) or some deft combination of rebooting and (un)plugging, but I'm almost out of enthusiasm.
Any ideas? TIA
EDIT: I realized that I had some lingering drivers on my host (Vista) system from OpenKinect. After removing them, I can no longer see the Kinect at all in the VM. Hmm.
There is this on read.me
Virtual machines: You must run applications built with the Kinect for Windows SDK Beta in a native Windows environment. Kinect for Windows applications cannot run in a virtual machine, because the Microsoft Kinect drivers and this SDK Beta must be installed on the computer where the application is running.
just to share that (not really understood how) VM Workstation 8 running in a host win 7 x64 with guest OS Ubuntu 10.04 sucessfully detected and installed Kinect drivers.
I was able to test it with libfreenect (OpenKinect Project) http://openkinect.org/wiki/Getting_Started#Manual_Build_on_Linux
best regards,
I'm late to the party, but we've been running and developing for the Kinect with Windows 7 running under VMWare under Mac OS X Mountain Lion.
I'm not a Computer Scientist, but I thought Turing showed that a universal Touring Machine was basically the same as physical hardware. I've had Distributed COM+ running on 3 or 4 VM's on the same physical hardware, but somehow the Kinect device is different? I don't buy that at all.
The most recent version of Microsoft Kinect for Windows (v1.6, possibly slightly earlier versions) in combination with the "Kinect for Windows" hardware does work inside a virtual machine. I run this setup on a MacBook Pro, Parallels 7 and Windows 7.
Note that a Kinect for Xbox does not work inside a virtual machine.
This page from Microsoft says that the "Kinect for Windows" device should work in a VM, but that the "Kinect for XBOX" does NOT work.
First of all you just need two Things to be installed:
libfreenect
libusb
after that you should set three flags to 0x02 at the line
typedef enum {FREENECT_DEVICE_MOTOR = 0x02,FREENECT_DEVICE_CAMERA = 0x02,FREENECT_DEVICE_AUDIO = 0x02,} freenect_device_flags;
Inside the headerfile located at /usr/local/include/libfreenect libfreenect.h but you will lose the ability to control the movement and the the microphone usage will be disabled so don't even try to access them or your device might get damaged after that you should also set
#define PKTS_PER_XFER 32
#define NUM_XFERS 6
inside your libfreenect/src/usb_libusb10.h file at the linux Line
After that rebuild your libfreenect by
mkdir build
cd build cmake ..
make make install.
Than Restart your virtual System and plug and connect only the Kinect Camera Device and no other Kinect device during start of the VM. When System is up you could test your device is properly working by switching to your previously created libfreenect build directory and go to bin there you run ./freenect-camtest you should get no or only a small number of package losses if a lot of losses occur try restart your vm with the camera device pluged in and already connected to your vm. You might need to active disconnect and connect the Webcam from the VM during startup to receive images this should be done during first seconds of VM Boottime!
Works with Ubuntu 14.04 and Workstation 10 and 11 and 11.1
HOST OS Windows 7 and Kinect SDK installed and Kinectdevice for Windows
Also it seems to be quite unstable you often have to restart your virtual system if you can't receive images from your Kinect. But if you once received images don't unplug device or you won't get data until you reboot virtual system with Kinect Camera connected to it.
=> This actually solved the problem otherwise to much frames get lost and its not possible to display proper image!