V
V
Vladimir Maltsev2016-08-21 13:20:37
phonegap
Vladimir Maltsev, 2016-08-21 13:20:37

How to determine in PhoneGap that the application is minimized?

Well, I can find instructions (
You need to determine whether the application window is active or minimized.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kravchenko, 2017-03-14
@mrhard

document.addEventListener("pause", [function] ,false); - when application is minimized
document.addEventListener("resume", [function] ,false); - when the app resumes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question