public static class ReflectUtils.Bridge
extends java.lang.Object
Constructor and Description |
---|
ReflectUtils.Bridge() |
Modifier and Type | Method and Description |
---|---|
static Context |
correntContext()
Returns the
Context associated with the current process. |
static java.lang.String |
currentPackageName()
Returns the name of the application currently being worked within
|
static java.lang.String |
currentProcessName()
Returns the name of the process currently being worked within
|
public static java.lang.String currentPackageName()
public static java.lang.String currentProcessName()
public static Context correntContext()
Context
associated with the current process. If currently within the android
process, the System Context
is returned, otherwise the corresponding Application Context
. This makes it possible to get a proper useful Context
from anywhere.