Wednesday, August 13, 2014

Testing Windows Store App on Simulator has lots of advantages

Simultor that you bring up in Visual Studio 2013 for Windows with Update (2 or 3) has lots of features that you should use to check out your app. The Simulator is a desktop application that simulates the Windows Store app.

You can simulate a lot of interesting things,
  • Touch and rotation events-Change device orientation
  • Physical Screen Size and resolution
  • Geo-location of user inputs
  • Network connections
  • Capture screen shot of the application
  • Give access to many more tools
However you should target the Simulator when you run the app in Visual Studio. You pick Simulator from the drop-down menu as shown after choosing the Windows 8.1 project as the start up project.


Click Simulator to choose (the default is the local machine and the application fills up the desktop).
The Simulator is displayed and the app gets loaded as shown.
This one is from a Web App using the Web App Template to display my blog.

 
On the right hand extreme you have vertically arranged icons which when activate lets you make changes to the simulator. You can see the various screen sizes, from 7" to 27". Note that location settings need permission.
 
Note that the Web App Template converted my blog but the various other controls outside the web page in black still reflect the items in the JSON file.


 

No comments:

DMCA.com Protection Status