There is a class in a library that is called from javascript (html5 app). It can't be an Activity extender. The class has access to Activity and WebView objects.
Is it possible to get onResume, onPause and onDestroy activity events from this library class?