Android.Content.PM.PackageManager.GetResourcesForApplication Method
Retrieve the resources for an application.

Syntax

[Android.Runtime.Register("getResourcesForApplication", "(Landroid/content/pm/ApplicationInfo;)Landroid/content/res/Resources;", "GetGetResourcesForApplication_Landroid_content_pm_ApplicationInfo_Handler")]
public abstract Android.Content.Res.Resources GetResourcesForApplication (ApplicationInfo app)

Parameters

app
Information about the desired application.

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 the given application could not be loaded (most likely because it was uninstalled).

Remarks

Retrieve the resources for an application. Throws NameNotFoundException if the package is no longer installed.

[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 1