Metro Nuggets

Bitesized tidbits for building Modern (Metro) apps.

Adding photos to the Windows 10 Phone Emulators

When you’re writing an app that requires the user to choose a picture, you give them the photo picker, which allows them to choose a photo from their device. Great. But what about you, as the developer? What about when you’re using the emulator? The old Windows Phone 7 emulators came with some built in images that you could pick (we’ve all seen them in the store screenshots, admit it!!), then with the Windows Phone 8 emulators, you had to perform a little dance to get them. But what about the Windows Phone 8.1 and Windows 10 emulators? And wouldn’t it be nice if you could more easily use real word pictures, rather than stock photos?

The Solution

The solution is simple, and amazing, and surprisingly little known [to me at least]. Just follow these steps:

  1. Create a new folder somewhere on your PC, let’s call this folder “sd” (for argument, d:\sd).
  2. In that folder, create a “pictures” folder
  3. Copy any pictures you want to have on the emulator into that folder
  4. Click the tools button on the emulator sidebar:
    image
  5. Click the SD Card tab
  6. And browse to your original folder from point 1 (not the pictures folder, the sd folder):
    image
  7. Then click the Insert SD card button.
  8. In the emulator, you’ll see the following:
    image
    At this point, you can click either yes or no, it doesn’t matter.
  9. To confirm it’s worked, go to the pictures hub/app on the emulator and you’ll see the pictures you chose.

Hopefully this helps, and will certainly make creating better looking screenshots (if nothing else) for the store!

SL

Advertisements

2 responses to “Adding photos to the Windows 10 Phone Emulators

  1. Pingback: Dew Drop – July 6, 2015 (#2047) | Morning Dew

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: