Cordova events, deviceready, pause, resume

yotube
0

 There are various events provided by cordova to be used by the application. The application code could add listeners for these events.


Cordova consists of two code bases: native and JavaScript.

While the native code loads, a custom loading image displays. However, JavaScript only loads once the DOM loads.

This means the web app may potentially call a Cordova JavaScript function before the corresponding native code becomes available.



deviceready : The deviceready event fires when Cordova is fully loaded.


pause       : The pause event fires when the native platform puts the application into the background


resume      : The resume event fires when the native platform pulls the application out from the background.

Tags

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
To Top