Saturday, February 16, 2013

Saving state in Windows Phone 8 emulator

http://sviluppomobile.blogspot.ro/2013/01/saving-windows-phone-8-emulator-state.html

http://blogs.msdn.com/b/devfish/archive/2012/11/27/what-the-hyper-v-wp8-sdk-emulator-and-hyper-v-insights.aspx

 

Steps:

1. Export virtual machine just in case something bad happens.

2. Run your app from Visual Studio as you normally do OR open the emulator from Hyper-V

3. IMPORTANT: If you started emulator from Visual Studio, close Visual Studio, right click on the virtual machine and click Reset. This will make the virtual machine snapshot you will save next usable from Visual Studio.

4. Customize the Windows Phone OS as you want

5. Create a snapshot

6. Rename the snapshot with the same name as the parent (for example: ‘snapshot.720x1280.1024’)

7. Delete parent (DO NOT select Delete Snapshot Subtree)

9. Run emulator from Visual Studio.

No comments: