SFML community forums
General => General discussions => Topic started by: Fizix on December 02, 2014, 02:26:57 am
-
What is the best practice to close an android activity?
In the example it checks for Event::Closed, which is when Android requests that the activity closes, but how do I request that the activity close? Do I just call window.close() on some event?
-
The same way you'd do it properly on any other system: Close your window, leave your main loop, then leave main().