- Home /
Pause game when user pulls down the notification panel
Hello, I want to pause my app when user pulls down the notification panel on Android. I tried OnApplicationFocus()
and OnApplicationPause()
but none of them seem to work... How do I check if the user pulled down the notification bar so that I can pause the game?
Comment
Your answer
Follow this Question
Related Questions
How to Make Pressing a Button Not Trigger Other Events? 1 Answer
Is a global static boolean a good implementation for pausing my game? 2 Answers
When I unpause my game I need to click to hide my cursor again when I pause and unpause my game. 2 Answers
Simple Android project shuts down when user presses the Recent Apps button 1 Answer
Does the application have to suspend? 2 Answers