English | Site Directory

Android - An Open Handset Alliance Project

android.app
public class

android.app.Application

java.lang.Object
android.content.Context
android.app.ApplicationContext ViewInflate.Factory
android.app.Application

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 created.

Summary

Constants inherited from class android.content.Context

Public Constructors

          Application()

Public Methods

        void  onCreate()
Called when the application is starting, before any other application objects have been created.
        void  onTerminate()
Called when the application is stopping.
Methods inherited from class android.app.ApplicationContext
Methods inherited from class android.content.Context