public class ManifestInfo
extends java.lang.Object
| Constructor and Description |
|---|
ManifestInfo() |
| Modifier and Type | Method and Description |
|---|---|
static android.os.Bundle |
getApplicationMetadata(android.content.Context context) |
static java.lang.String |
getDisplayName(android.content.Context context)
Returns the display name of the app used by the app launcher, as specified by the android:label
attribute in the
|
static int |
getIconId()
Returns the default icon id used by this application, as specified by the android:icon
attribute in the
|
static int |
getVersionCode()
Returns the version code for this app, as specified by the android:versionCode attribute in the
|
static java.lang.String |
getVersionName()
Returns the version name for this app, as specified by the android:versionName attribute in the
|
public static int getVersionCode()
public static java.lang.String getVersionName()
public static java.lang.String getDisplayName(android.content.Context context)
public static int getIconId()
public static android.os.Bundle getApplicationMetadata(android.content.Context context)
Bundle if meta-data is specified in AndroidManifest, otherwise null.