performance - android - operation for every 750ms -


I'm developing an Android application. During the active call conversation, as part of this, I have to check whether my screen is active or not, for every 1000ms. If I press the key fast and swapping home and my screen, then important events are remembered.

What is the optimal time window during which I can listen for important events so that it wont miss?

In addition, this operation is being executed during active call conversations, and at any time this operation can not affect system performance and battery life.

Please help.


Comments

Popular posts from this blog

Removing From ArrayList, In Loop Based On It's Size, But Breaking After Remove Still Gives OutOfBounds -

c# - Reactive Extensions ControlScheduler -

java - Add color code support to a Bukkit plugin -