@afx Thanks for the update. I have flagged this topic as solved, as it seems to work 🙂
Disable hardware buttons / enable screen rotation
There should be an option to disable hardware buttons as the hand tends to accidentally touch them during normal use:
This for example causes the app to quit since the back button was touched accidentally. This can be worked around if the portrait orientation is forced but rotation is not disabled so that the device can be used upside down like this:
Also in this case, the top system bar should be disabled (somehow, I don’t know if it’s doable) because it tends to be dragged down by accident.
I dont think you can disable the home button entirely, but back button can easily be disabled, I implemented that in my fork: https://github.com/FatihBAKIR/GfxTablet
I have the exact same in my fork https://github.com/ayberkozgur/GfxTablet/commit/63937c7866976c10da2ab4dba382c19e0c58793d
Hardware buttons are now disabled using “sticky immersive mode” on Android 4.4+ when you enter full-screen mode in GfxTablet.
We are using third party app like MobiLock to disable hardware keys on devices. Please refer to this blog : https://blog.mobilock.in/can-better-manage-android-devices-disabling-hardware-keys/