How catch android dispatchKeyEvent in nativescript app?
问题 Extended dispatchKeyEvent in Activity for listening volume up/down key press events in android. (as described here: How to listen for volume up/down key in android with nativescript?) But can't figure out how to catch this events in app. This process described here with all events but dispatchKeyEvent: https://docs.nativescript.org/core-concepts/application-lifecycle#android-activity-events application.android.on( <what should be here?>, function (args) { console.log("Event: " + args