Reputation: 612
I am developing an application for windows phone 7. Now for testing my application on simulator. I want that simulator should have connection flakiness as we usually have on wp7 device.How can I achieve this please help.
Upvotes: 4
Views: 636
Reputation: 1452
Windows Phone 8.0 SDK supports network simulation. You can simulte 2G/3G/Wifi and no network.
Upvotes: 2
Reputation: 2216
My solution is to test things on a train to and from work. I gain & loose internet connectivity 3 or 4 times in my journey so it is ideal for me :)
Upvotes: 0
Reputation: 489
Unfortunately, it's not possible to test the internet connection from the emulator.
You absolutely have to test it from a device...
The function "NetworkInterface.GetIsNetworkAvailable()" check if the smartphone is connected to the internet. However, this function will always return true since the emulator.
Upvotes: 1
Reputation: 1275
I would just take Ethernet cable off and on to "simulate" flakiness.
Upvotes: 0
Reputation: 808
I m not sure what are you asking for but take a look at this
Hope it helps.
Upvotes: 0