Move androidMain code to framework.
Framework covers engineHandleInput. But with SIGBUS.