• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Need help with Android os_is_paused()

ricardo1996

Member
Im trying to send a network packet. Just before the onPause() is called. Ive tried using the os_is_paused(), but it only executes the code upon regaining focus. Is there any function, or third party extension that can achieve such a task, is the task even achievable? or i must try to create my own?
 

ricardo1996

Member
What if you pair it up with !window_has_focus()?

if os_is_paused() || !window_has_focus() {
Man didn't even knew i got a replied wish i got a email notification :(, but i wrote a java ext and pasted a class in the runner activity folder if i recalled which works so far. Doesn't seems to break anything thus far
 

rIKmAN

Member
Man didn't even knew i got a replied wish i got a email notification :(, but i wrote a java ext and pasted a class in the runner activity folder if i recalled which works so far. Doesn't seems to break anything thus far
You need to enable content notifications via email in your account preferences, I don't think they're on by default like site alerts.
 
Top