Languages

Menu
Sites
Language
how to get event related with appCycle?

in case of native application, it can register callback function for getting appCycle event. 

but, in case of web application, it can't do that.

if web application also can get event of appCycle( ex. onResume, onPause, onCreate...).

please share it.

Responses

1 Replies
Iqbal Hossain

Hi~

As far i know, in Tizen web app, there is nothing like this. But you can still manage some event like page load by window.onload. See below,

(function() {
function init() {
    // App Onload
    }

    window.onload = init;
}());

N.B: I saw native like Life-Cycle in Apache Cordova (formerly PhoneGap).