Android.App.Instrumentation.CallApplicationOnCreate Method
Perform calling of the application's Application.OnCreate method.

Syntax

[Android.Runtime.Register("callApplicationOnCreate", "(Landroid/app/Application;)V", "GetCallApplicationOnCreate_Landroid_app_Application_Handler")]
public virtual void CallApplicationOnCreate (Application app)

Parameters

app
The application being created.

Remarks

Perform calling of the application's Application.OnCreate method. The default implementation simply calls through to that method.

Note: This method will be called immediately after Instrumentation.OnCreate(Android.OS.Bundle). Often instrumentation tests start their test thread in onCreate(); you need to be careful of races between these. (Well between it and everything else, but let's start here.)

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1