(Solved)(Android) How to know when my game gets in background?
Posted: Thu Feb 04, 2016 2:48 pm
I have a little problem in my game: when the game gets put in background the music keeps playing. I already have a togglePause() function that pauses the game, but I can't find any event or something that tells me when the app is in background even though I've been googling for an hour or so. Does anybody have a solution?