Re: About Application Lifecycle and Events Specification

Hi,

On 2013-10-28 15:02, onyx labo wrote:
> I propose to add the following events at least:
> - onSuspend() : when the screen sleep, we need to save data and stop the
> animation.
> - onResume() : when the screen is displayed, we need to refresh it and
> start the animation.

Isn't Page Visibility (http://www.w3.org/TR/page-visibility/) already 
addressing this?


Regards,
-- 
Janusz Majnert
Senior Software Engineer
Samsung R&D Institute Poland
Samsung Electronics

Received on Tuesday, 12 November 2013 13:43:55 UTC