Applicationpublic class Application extends android.content.ContextWrapper implements android.content.ComponentCallbacks
|Base class for those who need to maintain global application state. You can
provide your own implementation by specifying its name in your
AndroidManifest.xml's <application> tag, which will cause that class
to be instantiated for you when the process for your application/package is
|final void||attach(android.content.Context context)|
|public void||onConfigurationChanged(android.content.res.Configuration newConfig)|
Called when the application is starting, before any other application
objects have been created. Implementations should be as quick as
possible (for example using lazy initialization of state) since the time
spent in this function directly impacts the performance of starting the
first activity, service, or receiver in a process.
If you override this method, be sure to call super.onCreate().
Called when the application is stopping. There are no more application
objects running and the process will exit. Note: never depend on
this method being called; in many cases an unneeded application process
will simply be killed by the kernel without executing any application
If you override this method, be sure to call super.onTerminate().