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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -