public class Context
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Context |
getApplicationContext()
Performs reflection to see if the android.content.Context class is available at runtime.
|
PackageManager |
getPackageManager()
Similar to Context#getPackageManager
but performed through reflection.
|
java.lang.String |
getPackageName() |
@Nullable public static Context getApplicationContext()
@Nullable public java.lang.String getPackageName()
@Nullable public PackageManager getPackageManager()
PackageManager