public class AppGlobals extends Object
Constructor and Description |
---|
AppGlobals() |
Modifier and Type | Method and Description |
---|---|
static Application |
getInitialApplication()
Return the first Application object made in the process.
|
static String |
getInitialPackage()
Return the package name of the first .apk loaded into the process.
|
static int |
getIntCoreSetting(String key,
int defaultValue)
Gets the value of an integer core setting.
|
static IPackageManager |
getPackageManager()
Return the raw interface to the package manager.
|
public static Application getInitialApplication()
public static String getInitialPackage()
public static IPackageManager getPackageManager()
public static int getIntCoreSetting(String key, int defaultValue)
key
- The setting key.defaultValue
- The setting default value.