onCreate()?
See the lifecycle diagram
Given your comments it seems you want the Application Lifecycle
Make a class that extends Application to make use of these (it will be instantiated automatically), just make sure you specify its name in your AndroidManifest.xml's application tag
Edit
I see your confusion, you want just oncreate/terminate here on the Application class