cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <>
Subject Re: FW: cordova API doc queries (pause event)
Date Wed, 22 May 2013 17:41:54 GMT
Can only speak for iOS.

Pause which corresponds to system event

Resume which corresponds to system event

Here's more info on the app states on iOS (see Moving to the Background

My blog post (note we don't support iOS 4 anymore, but there are some
interesting tidbits):

On Wed, May 22, 2013 at 9:54 AM, Michael Sierra <> wrote:

> (Retitled the thread to narrow this issue.)
> Would an app typically be paused by the device platform as it anticipates
> it's about to die for lack of battery?
> Also, please confirm pause/resume necessarily applies only when execution
> of an application is actually suspended, not when it's somehow running in
> the background in some minified way as was the case on meego.  Do any of
> these platforms support that kind of multitasking?  If so, it would affect
> how you might use the notification API.
> Sorry for all the naive questions, and thanks,
> --Mike S
> ________________________________________
> From: Shazron []
> Sent: Monday, May 20, 2013 5:05 PM
> To:
> Cc: Michael Sierra
> Subject: Re: FW: cordova API doc queries
> ...
> * The doc for the "pause" and "retrieve" events say "native code"
>   takes the app in and out of the background.  Yes, but does that mean
>   it can be controlled by anything other than direct user manipulation?
>   E.g., an app can't pause itself, correct?
> No, the app can't pause itself. The system throws events that we capture,
> and translate to pause/resume.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message