Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
General discussions
»
Close Android Activity
Print
Pages: [
1
]
Author
Topic: Close Android Activity (Read 2213 times)
0 Members and 1 Guest are viewing this topic.
Fizix
Newbie
Posts: 18
Close Android Activity
«
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?
Logged
Mario
SFML Team
Hero Member
Posts: 879
Re: Close Android Activity
«
Reply #1 on:
December 05, 2014, 10:16:16 am »
The same way you'd do it properly on any other system: Close your window, leave your main loop, then leave
main()
.
Logged
Print
Pages: [
1
]
SFML community forums
»
General
»
General discussions
»
Close Android Activity
anything