sharptooth
sharptooth

Reputation: 170489

How do I have a sample image available in WP7 emulator when my project runs?

I have a Windows Phone project compiled with 7.1 SDK. The application processes image files and I'd like to have a sample image file with the project so that when the project runs in the emulator and the user asks the application to open an image from the photo gallery (using PhotoChooserTask) my sample image somehow magically appears in the gallery and the user can select it.

I've seen this question and I'm not completely sure it's about my scenario. That question OP wants to test his custom image. I want my custom image included into the project and then automagically appear in the emulator when someone gets my project from GitHub and opens it in Visual Studio and just runs it.

Is it possible to have a sample image included into WP 7.1 emulator when the project is being run?

Upvotes: 1

Views: 219

Answers (1)

Olivier Payen
Olivier Payen

Reputation: 15268

I wrote a blog post that explains how to have sample images in the emulator: http://www.softwareisinthedetails.com/2012/11/add-test-images-on-windows-phone-emulator.html

Upvotes: 1

Related Questions