tizentizen-sdkxamarin.tizen

Tizen .net application. How to access device hard buttons


I am working on a Tizen .net application for wearable devices. I cannot find information on how to gain access to the device hardware such as the menu or back button. I have found how to access the hardware and software bezel in the Wearable CircularUI documentation noted below.

https://developer.tizen.org/zh-hans/development/guides/.net-application/application-management/applications/watch-application

There appear to be at least a few other references to this for native or web applications, but I could not find any API for .net applications. Please advise


Solution

  • First, Application can't handle home hardware key only can handle Back hardware key. if You use Xamarin.forms, you can override OnBackButtonPressed method to handle Back hardware key

    Here is guide to use Bezel event https://samsung.github.io/Tizen.CircularUI/guide/IRotaryEventReceiver.html