[SOLVED] how to get 'application hidden' 'application restored' in android

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
trabitboy
Prole
Posts: 19
Joined: Sun May 12, 2019 2:09 pm

[SOLVED] how to get 'application hidden' 'application restored' in android

Post by trabitboy »

UPDATE: love.focus() works on android

now to restore proper zoom :)

original post:
HI !

I work on a cross platform d#paint animation inspired tool .
https://github.com/trabitboy/zaz2nim

A problem I have on android is that on some events , on some devices,
application minimizes, and when I restore it .

To try to recreate the canvas and redo proper setup ( see dpi scale etc ),
I would like to intercept the ' visible/restored/onfocus' state of the app .
love.visible doesn't seem to work on android ?

Thanks for any pointer!
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], rabbitboots and 2 guests