Background
A few years ago I was developing for C#, WPF and Silverlight and then moved to developing for Android.
I've decided to give Windows phone a try, and install the newest Visual Studio Pro 2012 with its Windows phone sdk, together with the latest version of Windows - windows 8 pro.
I've created a new Windows phone project hoping I will start learning from a hello world project, and I've launched the emulator .
Some specs information
OS is windows 8 pro (final) . 64 bit CPU .
Visual Studio Pro 2012
Windows phone sdk 8
Connected by usb to a wireless D-Link device (DWA-140) .
The problem
Just as soon as I've started the emulator, a dialog came asking if I want to enable networking:
When I chose that I want, an error has appeared:
After selecting ok, the emulator crashed.
Knowing how to search for solutions on the internet, I've found a few (like here and here ) that suggested me to delete the network switches, create an internal switch, and whatnot.
The question
I don't understand what I'm doing wrong, and this is just my starting point. Can anyone please help me with this error and how to make the emulator work?
Please tell me the exact steps that I need to take.
EDIT: after uninstallation of anything related to VS and WP , i've re-installed them both and i still get the same errors.
Not only that , but when trying to create a new external switch (which some websites offered) , it showed me the next error :
How could such a basic feature of an emulator be missing out of the box ?
You might try a couple of things.
First, verify the network connection settings for the "vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)" adapter.
To do so, open "Control Panel\Network and Internet\Network Connections" in Control Panel. Right click on the "vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)" adapter, and choose "Properties". Under "This connection uses the following items:" verify that ONLY the following options are selected:
Client for Microsoft Networks
QoS Packet Scheduler
File and Printer Sharing for Microsoft Networks
Microsoft LLDP Protocol Driver
Link-Layer Topology Discovery Mapper I/O Driver
Link-Layer Topology Discovery Responder
Internet Protocol Version 6 (TCP/IPv6)
Internet Protocol Version 4 (TCP/IPv4)
In addition, you may want to review the network adapter settings for the emulator image in "Hyper-V Manager"
Verify the network adapters that are shown are valid. You might try disabling some (like the adapters connected to the WiFi or Wired Ethernet adapters on your machine) if the adapters they are bound to are not currently enabled in the OS.
Let me know if that helps!
I suspect you may be running afoul of UAC. As you've noted, it's trying to create a virtual device. Doing so requires elevated permissions. If I were you I would either run VS2012 as Administrator or completely disable UAC until it's all installed and configured, and then you can turn UAC back on if you prefer it on. I think Allen's comment about manually creating a VM with the appropriate networking is astute and a worthwhile experiment, since it sidesteps the possible UAC issues.
Related
I have a CSS bug (visual difference) that seems to happen only in iPhone X devices.
what I would usually do in cases like these is use the inspector tool in the browser the bug occurs to find the rule I wrote that is not cross browser, and do a trial and error in the inspector tool until I find what works cross browser and cross platform.
knowing that iPhone uses safari browser - I installed safari on my windows PC but couldn't reproduce the bug.
how can I simulate a browser in a iPhone on my windows PC? or is there another way to find the quirk in this case in order to fix it?
I can't afford a mac.
I have windows 10 on my PC but can also use a linux distribution if needed.
also, this cannot be debugged in a cloud because the security team won't allow the code to be hosted on an external cloud at the stage of development.
As far as I know, your best/cheapest approach would be to run MacOS within a Virtual Machine and then perform the steps Neal suggested.
But keep in mind that you need to run the network config of your Virtual Machine in "Bridge Mode" otherwise your virtual macos can't see any devices on your network.
I assume Samsung forums devoted to Tizen would the the first place to resolve this issue but after reading through them it seems that nobody has succeeded with this and the support has not provided any valuable information either so I'll just hope that there are some SO users working with Tizen TVs who have encountered and maybe solved this themselves.
I am trying to connect to a Tizen Smart TV from the Tizen IDE to deploy a native application. As far as I understand this functionality is quite new and supported only in recent firmware releases. I've updated to the latest firmware (1411) but still neither the Tizen IDE (namely the Connection Explorer component) neither the native sdb command line tool seem to work ( I've described the behavior in detail in this post to the Samsung Tizen forum).
The sdb tool seems to fail with any command other than sdb connect. Connection seems to succeed but after that any other command like sdb dlog or sdb shell simply print that the connection has been closed. Wireshark also approves this - every TCP message gets a CLSE reply.
Is there anyone on SO who has successfully deployed a native application via the developer mode on a Tizen Smart TV and could share the recipe?
adding your workstation's ip to the TV's hosts is a must.
on the tv, go to apps, put focus on my apps and click 1,2,3,4,5 on the RCU.
a pop up message with ip input comes up.
enter your workstation's ip and reboot the tv (turn off, turn on)
try to reconnect, good luck
I had the same problem: when I tried to connect to Samsung Smart TV from Tizen SDK or sdb, It didn´t work.
For me, the solution was to define in the Samsung Smart TV ip config the IP from the Macbook where I am running the Tizen SDK (according to the recomendation in this link)
So, in my private network the Samsugn Smart TV was on ip 192.168.0.102, and the Notebook was on ip 192.168.0.103
I opened the developer mode in Samsugn Smart TV, it was ON and I change there the IP to 192.168.0.103 (It was the private Macbook ip)
After that, the sdb command and SDK work and my demo app is running on the Smart TV:
$ sdb connect 192.168.0.102:26101
connecting to 192.168.0.102:26101 ...
connected to 192.168.0.102:26101
My software and hardware versions are Samsung (JU6500) and Tizen SDK Version : 2.4.0_Rev7
I hope it answer could help you, may be you have the same problem... It tooks me a lot of time find this solution...
Try to Menu -> System-> Smart Security -> Settings: Deactivate network security
Then reboot device. Power off wait 30sec. power on.
Try to connect via the instr. of Samsung. Worked for me
I had the same problem after reset the TV to factory settings. For me, upgrading TV firmware from 1430 to 1443 did the trick.
To upgrade firmware:
Menu->Assistance->software update->update now
Good Luck
I am working on developing an enterprise application for ios 7 that needs to work offline and then sync with a desktop client (that I also need to write) for data transfer.
My company does not allow wireless or cell data in this area, and would strongly prefer to not use iTunes either.
The question is, how do you transfer data from an iPad over the usb cable to a custom windows program, without iTunes.
The simplest answer would be: iExplorer (http://www.macroplant.com/iexplorer/) plus some kind of a script to automate the data sync.
Otherwise, you can use the ExternalAccessory framework to communicate with the desktop via a USB tether. This would necessitate a desktop client running simultaneously to communicate with the device.
peertalk (https://github.com/rsms/peertalk) does what you want, however the computer side library is only for mac os. Maybe you can port the protocol to windows by looking at that (the license is BSD)
Edit: this guy managed to have it run under linux. It sits on usbmuxd, which also has a windows port, so it shouldn't be impossible.
Is there a way to debug my application (running on Windows Mobile 6.5, deployed on Visual Studio 2005) without ActiveSync?I want to go through some connection problems and with the ActiveSync-connection always enabled, I can't really test the WLAN and/or GPRS-module with my application.
I tried disabling the USB-connection in ActiveSync, but then Visual Studio cannot connect to my device and I am not able to debug my project. (It does disable the connection on my device though).
Am i missing some settings I can change on my device and/or ActiveSync?
It seems that it is not possible to do this when you are trying to debug over WWAN/GPRS.
But it works if you connect your device to your office network/the network you are also developing with, see Debugging Visual Studio applications with no ActiveSync support.
Note: this may not work with all devices running WM6.5, in my case this was a Psion EP10 and it worked.
This one
http://www.turboirc.com/ppc/s5.htm
works fine for me with VS 2008 and WM 6.5
Take a look at
http://blogs.msdn.com/b/vsdteam/archive/2005/04/28/413304.aspx
as well.
this message occurred when i run my APP
"the windows phone emulator wasn't able to connect to the windows phone operating system :
The phone didn't respond to the connect request .
some functionality may be disabled."
after searching i found this answer
"
Open Hyper-V Manager
Left column, left click on your computer name
Select Virtual Switch Manager
Select the Windows Phone Emulator Switch
Click on the remove button on the right side of the window.
launch the emulator
Accept the elevation of privilege asked
"
but message still appeared and my problem not solved
Hint:
Hyper V enabled
OS in my Laptop win 8.1 Enterprise (64-Bit)
Visual Studio 2012 Ultimate , Update 3
SDK 8
I also got this error message when I ran my app with the phone emulator:
the windows phone emulator wasn't able to connect to the windows phone operating system :
The phone didn't respond to the connect request .
some functionality may be disabled.
This is what I did, which worked perfectly for me:
First make sure you have closed your Visual Studio and the phone emulator, then
Open Hyper-V Manager
Left column, left click on your computer name
Select Virtual Switch Manager
Select the Windows Phone Emulator Switch
Choose Private Network and Click Apply
Then the trick is to restart your system and go through the same step above,
but this time:
Choose Internal Network and Click Apply
Note : You'll see some Loading in progress,that's all , then start your phone Emulator Again
I had the same problem and solved it by disabling firewall (AVG). Try this.
do you have installed symantec? If so thats the issue. i am able to run only after disabling symantec. so you may choose to do so.
Regards,
Pankaj
I had this happen and none of the solutions above helped unfortunately.
However, I noticed that in my actual network settings there were duplicate phone emulators. After disabling the duplicates that were unplugged my issue was solved.
control panel -> network and internet -> network sharing center -> change adapter settings: here is where you disable any duplicates you may have running for whatever reason.
go to network and sharing center
go to change adapter setting
go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
right click it and enable it(if already enabled then disable and enable it again).
I followed these steps and it solved my problem.
Move to “Control Panel\All Control Panel Items\Administrative
Tools”, Here remove each and every Virtual Machines listen under.
Remove Hyper-V and then Restart the System.
After restarting, Install Hyper-V once again.
Open Visual Studio and Run any Windows Phone 8 app to start the
emulator.
It will create again all needed Virtual Machines( you can notice
from Hyper-V Manager tools)
While loading emulator, it will prompt for letting the emulator
access the internet. say yes.
Let the emulator and your project fully load
Now you need to shutdown the emulator( by closing directly or use
Shift + F5) and close the Visual Studio.
Now Open Network and Sharing Centre
Click change Adapter Settings (Listed on the left hand side)
Now you will see there - “Control Panel\Network and
Internet\Network” Connections. some new adapter created by HyperV,
they should be called “vEthernet(…)”
Here, You need to focus on the vEthernet( Virtual Switch) and
vEthernet (Internal Ethernet Port Windows Phone Emulator Internal
Switch)
Now right click on vEthernet( Virtual Switch) and click on the
properties and navigate to the sharing tab.
Here, Choose Allow other Network users to connect and choose the
vEthernet (Internal Ethernet Port Windows Phone Emulator Internal
Switch) as the adapter and then save the changes and close Windows.
Everything work now.(Make sure your Wi-fi is working properly)
Source
It's a firewall issue as above top 2 answers. I uncheck 'Enable Firewall' at Symantec Endpoint Protection > Network Threat Protection > Option. After the VM started, firewall can be turned back on.
I noted that in my Device Manager I had a warning against Network adapters / "Hyper-V Virtual Switch Extension Adapter".
My resolution was to use Hyper V manager to remove the "Windows Phone Emulator Internal Switch":
1...Launch Hyper V Manager
2...Virtual Switch Manager
3...Under Virtual Switches list, select "Windows Phone Emulator Internal Switch" and click Remove
4...Refer back to Device Manager - the "Hyper-V Virtual Switch Extension Adapter" warning will have been removed
5...Create a new Virtual network switch (Internal), using the same name
6...You then need to open the Settings for each emulator and reconnect it's Network Adapter to the newly created internal switch
7...I also ran the Emulator repair (Control Panel / Program Features / right click Windows Phone 8.1 Emulators - ENU / Change / Repair) - not sure if this had any bearing on the fix
9...I then launched VS2013 and emulator now worked
I have tried all guides above, nothing help.
Finally, I uninstall vmware player 12 and then it's work.
Hope this tip could help you.
I had the same problem with my AVG Antivirus firewall. The only thing needed was to disable AVG network filter driver in vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) network.
You can find it in Control panel -> network and internet -> network sharing center -> change adapter settings. Right click vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch), select Properties, uncheck AVG network filter driver.
After that Visual Studio is able to connect Windows Phone Emulator.
follow the following steps to solve this problem
1.go to network and sharing center
2.go to change adapter setting
3.go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
4.right click it and enable it(if already enabled then disable and enable it again).