c# - Camera button long press event in windows tablet -


i trying make torch application in windows tablet. ultimate aim "user should have immediate access torch". managed put application in settings tab of charms bar. requires 2 clicks, first on setings bar torch application.

  • is possible put application in charms bar itself?, user can launch application single click.

  • or there way trigger external keys?. like, "long press on volume key launch application", or "long press on camera button etc..".

any highly appreciated :).

first, no way launch app in charms bar.

you can register event handler hardwarebuttons.camerapressed hardwarebuttons.camerapressed += hardwarebuttons_camerapressed;.

note

by using hardwarebuttons shold first add reference of mobile extensions if developing uwp apps.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -