WinCE device and VS2008 connectivity for debugging and deploying - windows-ce

I have WinCE device and visual studio 2008 project. I want to deploy and debug the project without active sync (I am using Win7 as my developemnt machine). I have established the connection between my device and developemnt machine using network cable. When I ran Conmanclient2.exe and CMAccept.exe from windows directory of my device I still got the error when I perform Test Connection from VS2008 that
Active sync bootstrapper failed. Please connect real device...
I have set my device IP - 10.0.0.1
My dev machine IP - 10.0.0.2

I think you have to configure the device to not use Active Sync as described here.

Windows mobile 6 classic emulator selection does not fail

Related

Connecting to WinCE 5.0 Device - ActiveSync vs Windows Mobile Device Center

I have a single board computer running Windows CE 5.0 that's connected to a desktop via serial. I'm updating the desktop from Windows 2000 to Windows 7 and as a result need to update from ActiveSync to Windows Mobile Device Center. With WMDC, I am no longer able to make a partnership with the device or connect.
My question is - are there any known changes to how repllog.exe (device side) interacts with WMDC vs ActiveSync (host side)?
Maybe a better question - will WMDC even work with with Windows CE 5.0? The system requirements listed here don't show CE 5.0 as supported.
Nothing else in the setup has changed and the only thing I can guess is that the single board computer is no longer 'answering' or handling the connect event properly.
I don't have access to the build tools for creating the WinCE 5.0 image unfortunately, so I'm not sure if I can easily update to WMDC on the device side.
Also, the current registry values:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
"RasTimeoutResponseWait"=dword:00000032
"RasTimeoutPause"=dword:00000005
"ConnectTypesAllowed"=dword:00000008
"CheckPasswordTimeoutSeconds"=dword:00000014
"WaitV2TimeoutSeconds"=dword:00000004
"SerialPort"="COM1"
"HasUsbDevice"=dword:00000000
"SerialBaudRate"=dword:0001c200
"DeviceType"=""
"DeviceOemInfo"=""
"DeviceVersion"=dword:04401504
"DeviceProcessorType"=dword:00000000
"DeviceProcessor"=""
"DTPTNetworkType"="{0}"
"DisableIr"=dword:00000000
"GuestOnly"=dword:00000001
"InstalledDir"="C:\\Windows\\WindowsMobile"
"Dual-Home"=dword:00000000
"DisableCredentialSave"=dword:00000000
"MajorVersion"=dword:00000006
"MinorVersion"=dword:00000001
"CurrentPartnershipProtocol"=dword:00000003
"MinimumPartnershipProtocol"=dword:00000002
#=""
"BuildNumber"=dword:00001b35
"EulaRequired"=dword:06010000
My environment is Windows 7 Pro x64 + WMDC x64 + WinCE 5/6 and it works fine. So I believe that WMDC does support WinCE 5.0.
As I remember WMDC can conflict with MS Outlook, try to google this, this is probably your case.
If connecting through a serial port, you may have to modify the registry on the host PC to allow serial connections.
Change this key to the name of the serial port, e.g. "COM1". Then reboot your PC and do not change anything in the WMDC settings dialog after that.
HKLM\SOFTWARE\Microsoft\Windows CE Services\SerialPort

The emulator is unable to verify that the virtual machine is running

I have a vm created in Azure, Windows Server 2012, x64 with Visual Studio 2015.
I'm trying the Weather application example from the site https://taco.visualstudio.com/en-us/docs/get-started-first-mobile-app/
When I try to start the application running the emulator VS Emulator 5 KitKat (4.4) I have errors with internet connection but I actually can connect to the internet.
Just after launch the application I get this message:
I hit Accept and then, after display the screen, I get next messages (Although the message is talking about Hyper-V, i´m using my MSDN account and Azure)
When I try to start the application running the emulator VS Emulator 5 KitKat (4.4) I have errors with internet connection but I actually can connect to the internet.
VS Emulators run as Hyper-V Virtual Machines. And if you are already in a Windows Server 2012 VM environment, it is not possible to to start another VM inside of it.
In Windows Server 2016 or Windows 10 VM it is possible to start an VM inside. For details, please refer to Enable Nested Virtualization.

Not able to connect to Internet from Visual Studio Emulator for Android

I just installed VS 2015 RC and opened up the VS emulator for Android. I am not able to connect to internet from this emulator. I went to settings -> WiFi and could see its turned on, but not showing as connected to any network.
Upon turning off the wifi and turning it on, I could see the status as "Connecting".
How do I configure this emulator to access internet ?
I had to just disable the VirtualBox Host-Only Network adapter, which Genymotion emulators under VirtualBox used (Control Panel - Network and Internet - Network Connections on Windows 10), then restart the emulator and it works like a charm.
Greg
If you use Wifi to connect to internet. Just go to Run and search Hyper-v manager so run it. Select your emulator from virtual machines section right clicking on it go to settings . You see some adapters . we need seconed item external network.
so change it to your Wifi adapter. go to your emulator and google Iman Mohadesi. it works. just it.
Put away your shotguns folks. The key to solving this is a complete understanding of the problem. The VS Android Emulator is not configured out of the box with an external network connection. (Why? Why? Why?). The only network adaptor it has (Window Phone Emulator Internal Switch) is (as it name says) internal, that is not connected to the internet. It is only used (apparently) for communicating with the host.
So to have internet connection we need to add another virtual adaptor and connect it on the host system to the internet.
See this blog post to add and configure adaptor: http://blog.tpcware.com/2017/03/visual-studio-2017-android-emulation/
Overview:
In Hyper-V Manager add a new Virtual Switch. Name it External. See that it is connected to your real network connection.
In the virtual machine settings for the Android emulator, add a new network adaptor (emulator must be stopped to do this). Select the newly created external virtual switch.
Start emulator and open browser. Voila! You now have internet access.
So please disregard all the advice about rebooting, repairing, re-installing, etc. This is all a complete waste of time. I am astonished that some folks report this fixes the internet connectivity.
One last thing. The blog post says that this approach does not work if you network adapter is wireless. It works find for me and I only have a wireless connection from my laptop.
This solved my issue. there must be an internal and external network with the external listed after the internal. Use Hyper-V manager to fix these up on all your VS Emulators VMS.
No internet connection for Visual Studio Android Emulator
I only use Hyper-V and for some reason, all my Android emulators failed to connect to internet. To resolve this, go to Hyper-V Manager -> Virtual Switch Manager (on the right side of the window) and remove the corresponding virtual switch, in my case the Wireless. Finally in Visual Studio, run the app with any of the emulators and wait till finish its re-install the virtual switch.
In my case, I had the wifi enabled instead of ethernet (The cable was accidentally unplugged). pluggin it back solved the problem.
this link enter link description here
saved my a lot of times. Hope this help for you.

Enable internet in Tizen wearable emulator

How do I configure my Tizen wearble SDK emulator to use my system's internet connection. This artcle explains Connecting emulator to a network. But I was not sure what port to use in place of "HOST_PORT" and "GUEST_PORT". Kindly help me on this. I am using Windows 7 OS.
When you try to connect from emulator to outside, you don't need any network configuration. The Connecting emulator to a network explains how to connect from outside to emulator.

Android Emulator Blocks sound on VMware linux host

I am using linux 10.04(32 bit) on VMWare. In this vm I have installed Eclipse and running an Android emulator. Sound normally works on the VM but as soon as I start the Android Emulator sound is disconnected, whit this error msg,
The default sound device cannot be opened:
A device ID has been used that is out of range for your system.
Failed to connect virtual device sound.
Can any one please tell how to enable sound while the emulator is running?
I started the emulator on a different port using the -port command still no luck. Any ideas?
This issue was solved after installing skype in to the vm!

Resources