Had a really busy month so I didn't finish the next page yet but I have started working on a slightly different take for this and was wondering if someone could give it a try and lend me some feedback.
I decided to try and simplify or better handle the NativeActivity state handling and events and compiled a small and simple library for use as a C++ source. It is still very much WIP but if anyone wants to give it a go I will appreciate it.
The library can be found here:
And an example project to use it is here:
Currently it handles letting you know when the window is hidden (and you should stop drawing then), application is paused and key/touch data. You can also call the keyboard from Native.
Next I will be adding simple access to assets and then either leave it there or extend the BaseGameUtils for Google Play Services.
I want to keep it as slim as possible so it is just bare bones but also help exposing Android APIs to C++ with it.