Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to simulate the hardware shutter button in the Emulator?

In addition to soft keys, I'd like to test how my app responds to the hardware shutter buttons (e.g. various states half-pressed, fully-pressed, button-release. etc...).

The emulator does not seem to have a hardware shutter button (unless I am missing something). So, in the absence of an actual device, how can I test this functionality?

like image 802
AngryHacker Avatar asked Aug 09 '11 00:08

AngryHacker


2 Answers

The F7-Key is mapped in the emulator to the camera shutter-key fully pressed and the F6-Key is mapped to the half-pressed shutter-key.

Both shortcuts are not supported in Visual Studio 2010 Express for Windows Phone (but I have no idea why they did this limitation...)

like image 150
Anheledir Avatar answered Nov 15 '22 11:11

Anheledir


http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff754352%28v=vs.105%29.aspx gives a list of supported emulator hot-keys. :)

like image 33
ZombieSheep Avatar answered Nov 15 '22 09:11

ZombieSheep