.NET Zone is brought to you in partnership with:

Michael Crump is a Microsoft MVP, INETA Community Champion, and an author of several .NET Framework eBooks. He speaks at a variety of conferences and has written dozens of articles on .NET development. He currently works at Telerik with a focus on our XAML control suite.
You can visit his blog at: MichaelCrump.Net or follow him on Twitter at: @mbcrump

Michael is a DZone MVB and is not an employee of DZone and has posted 111 posts at DZone. You can read more from them at their website. View Full User Profile

Extra settings in the Windows Simulator (VS11 Beta)

03.13.2012
| 5040 views |
  • submit to reddit

Introduction

In case you haven’t noticed, the Windows Simulator in VS11 Beta has changed slightly. We have the same panel located to the right of the simulator as before, but with a few additional options.

Here is a look at the simulator options with the version of VS11 released after the Build event.

image

…and here are the new options available after the latest VS11 Beta released on Feb 29th, 2012.

image

Digging in

You can easily access the Simulator inside of Visual Studio 11, by going to Debug and selecting Simulator from the drop-down.

.image

Once you run your application, you will see it running in the simulator as shown below:

image

Let’s explore these new options. If you want to review what all of the buttons do then read my previous blog post.

Set Location

If we take the first new option, then we can easily set the location for the app by inputting latitude, longitude, altitude and error radius.

SNAGHTML56b9e7c

Of course, if your tablet has the ability to send GPS coordinates then you can use your real location by unchecking “Use simulated location”.

Screenshot

If you want to take a screenshot of your app, then simply click the "Screenshot” button.

image

With the button directly under it, you can make a few additional tweaks.  Including where it saves the image and to open the saved image location.

 image

By default, it saves to the Clipboard and stores the file in your Pictures Library.

SNAGHTML571dc75

It stores the images with the same resolution as set in the Simulator:

SNAGHTML58009fb

Help

The last option just opens your browser to the following page: http://msdn.microsoft.com/library/windows/apps/hh441475.aspx

Wrap-up

As you can see from this post, the simulator in VS11 Beta adds some functionality that we have been using with the Windows Phone 7 emulator. We actually had to wait well beyond the beta bits to get location and screenshots in the phone emulator options. Let’s hope the rest of Windows 8 is as polished as the simulator is. If you have any questions then feel free to contact me. Also, don’t forget to subscribe to my RSS feed and follow me on twitter.

Published at DZone with permission of Michael Crump, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Imdadyano Yano replied on Tue, 2012/03/13 - 2:39pm

Thanks for sharing such a nice article. But images are not still clear. I was searching for some nice article in which talks about GPU + XNA and Language & Regions Settings. I had a hard luck today. Please reply if you have any links. Even if you have anything related to silverlight application that will be also fine.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.