getActivity

Get the activity related to the context

Receiver

Context

Return

The context's activity, if it can be retrieved, null otherwise