getCurrentActivity

Get the activity to which this context is currently attached, or null if not attached. DO NOT HOLD LONG-LIVED REFERENCES TO THE OBJECT RETURNED BY THIS METHOD, AS THIS WILL CAUSE MEMORY LEAKS.