Hi
How to catch android back button in application?
With ApplicationWindow I have onClosing signal
With VPlay Games there is onBackButtonPressed
But how about VPlayApps ? I have tried this code but it seems no key events are received inside Page or Rectangle
focus:true
Keys.enabled: true
Keys.onPressed:{
console.debug("back key")
}
Keys.onReleased: {
console.log("back key")
}
Keys.onBackPressed: {
console.log("back key")
}
Particulary with Page and “backNavigationEnabled: false” which is good when user is already logged in (can’t go back to login page), but then I can’t close the app
Best Regards
Marek