How can I get the context of a class (non-activity) in Android?
140595
Using getResources() in non-activity class
64597
How to get a JavaScript object's class?
137428
Alternative for the deprecated People class in Android
40351
Obtain details of categories on a class at runtime?
77729
How to extend from AsyncTask as a generic base class?
42892
How do I check (at runtime) if one class is a subclass of another?
108454
How do I get extra data from intent on Android?
37365
Get generic type of class at runtime
26761
Getting hold of the outer class object from the inner class object
140217
C# Reflection: How to get class reference from string?
136377
How can I get a list of static variables in a class?
56789
Getting the class name of an instance?
63843
Calling startActivity() from outside of an Activity?
92844
getOnClickListener() in Android views
142913
How do you get the "object reference" of an object in java when toString() and hashCode() have been overridden?
81518
Find out what variable is throwing a NullPointerException programmatically
15912
Java reflection: how to get field value from an object, not knowing its class