Android.App.Activity.StartActivityFromChild Method
This is called when a child activity of this one calls its Activity.startActivity(android.content.Intent) or Activity.StartActivityForResult(Android.Content.Intent, System.Int32) method.

Syntax

[Android.Runtime.Register("startActivityFromChild", "(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V", "GetStartActivityFromChild_Landroid_app_Activity_Landroid_content_Intent_ILandroid_os_Bundle_Handler")]
public virtual void StartActivityFromChild (Activity child, Android.Content.Intent intent, int requestCode, Android.OS.Bundle options)

See Also

Activity.StartActivityForResult(Android.Content.Intent, System.Int32)

Parameters

child
The activity making the call.
intent
The intent to start.
requestCode
Reply request code.
options
Additional options for how the Activity should be started. See Android.Content.Context.StartActivity(Android.Content.Intent, Android.OS.Bundle) for more details.

Exceptions

TypeReason
Android.Content.ActivityNotFoundException

Remarks

This is called when a child activity of this one calls its Activity.startActivity(android.content.Intent) or Activity.StartActivityForResult(Android.Content.Intent, System.Int32) method.

This method throws Android.Content.ActivityNotFoundException if there was no Activity found to run the given Intent.

[Android Documentation]

Requirements

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