Android.Content.PM.PackageManager.GetActivityLogo Method
Retrieve the logo associated with an Intent.

Syntax

[Android.Runtime.Register("getActivityLogo", "(Landroid/content/Intent;)Landroid/graphics/drawable/Drawable;", "GetGetActivityLogo_Landroid_content_Intent_Handler")]
public abstract Android.Graphics.Drawables.Drawable GetActivityLogo (Android.Content.Intent intent)

See Also

PackageManager.GetActivityLogo(Android.Content.ComponentName)

Parameters

intent
The intent for which you would like to retrieve a logo.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:android/content/pm/PackageManager$NameNotFoundException;Href=../../../../reference/android/content/pm/PackageManager.NameNotFoundException.htmlThrown if the resources for application matching the given intent could not be loaded.

Remarks

Retrieve the logo associated with an Intent. If intent.getClassName() is set, this simply returns the result of getActivityLogo(intent.getClassName()). Otherwise it resolves the intent's component and returns the logo associated with the resolved component. If intent.getClassName() cannot be found or the Intent cannot be resolved to a component, NameNotFoundException is thrown.

[Android Documentation]

Requirements

Namespace: Android.Content.PM
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9