<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\758211560\46blogName\75Tech+Tips,+Tricks+%26+Trivia\46publishMode\75PUBLISH_MODE_BLOGSPOT\46navbarType\75BLUE\46layoutType\75CLASSIC\46searchRoot\75http://mvark.blogspot.com/search\46blogLocale\75en\46v\0752\46homepageUrl\75http://mvark.blogspot.com/\46vt\75-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
A seasoned developer's little discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


Geolocation spoofing with Windows 8 Simulator


While working on a geo-location application, you would want to see how your app works for different coordinates.

Windows 8 has a very helpful simulator that makes testing your geolocation based web application or Windows 8 Store app, easy.

The Windows 8 Simulator exe can be found at this path (assuming your system files are in the C Drive): C:\Program Files\Common Files\microsoft shared\Windows Simulator\11.0

The Simulator can also be invoked through Visual Studio 2012.

Update: I noticed that this tool is available after you install Visual Studio 2010 Express for Windows 8 or VS  2012

Windows 8 Simulator

To change the default location's coordinates, select the Location icon in the Simulator & fill the latitude and longitude of the place you want to test your app for.

Update(29/Dec/2013): Chrome & IE11 now allow you to spoof latitude and longitude coordinates from their respective Developer Tools

Happy geo-location spoofing!

Related: Using the Windows 8 Simulator & VS 2012 to Debug the IE10 Touch Events and Your Responsive Design

Labels: ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment