I'm trying to use SFML to implement a NativeActivity in a larger project.
First a non-native activity is started, after a while this activity start the SFML NativeActivity and when the user press the "back" button (that trigger a sf::Event::KeyPressed with event.key.code == sf::Keyboard::Escape, as sf::Event::Closed doesn't seem to ever be triggered) the NativeActivity closes and the non-native activity should take back the control, but instead it is "freezed" (non-responding).
I copied Android.mk, Application.mk, main.cpp and the needed part of AndroidManifest.xml from the android example.
I'm using SFML 2.3.2.
Am I missing something in the app or window lifecycle?