Android Guides | Samples

Android.App.LauncherActivity Class

Displays a list of all activities which can be performed for a given intent.

See Also: LauncherActivity

Syntax

[Android.Runtime.Register("android/app/LauncherActivity", DoNotGenerateAcw=true)]
public abstract class LauncherActivity : ListActivity

Remarks

Displays a list of all activities which can be performed for a given intent. Launches when clicked.

[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

The members of Android.App.LauncherActivity are listed below.

See Also: ListActivity

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
TargetIntentIntent. Get the base intent to use when running PackageManager.QueryIntentActivities(Intent,PackageInfoFlags).
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

MakeListItems() : IList<LauncherActivity.ListItem>
Perform the query to determine which results to show and return a list of them.

Protected Methods

IntentForPosition(Int32) : Intent
Return the actual Intent for a specific position in our ListView.
ItemForPosition(Int32) : LauncherActivity+ListItem
Return the NoType:android/app/LauncherActivity$ListItem;Href=../../../reference/android/app/LauncherActivity.ListItem.html for a specific position in our ListView.
OnQueryPackageManager(Intent) : IList<Android.Content.PM.ResolveInfo>
Perform query on package manager for list items.
OnSetContentView()
Override to call setContentView() with your own content view to customize the list layout.