getContext
Deprecated
Don't rely on the global context. Pass the context you need explicitly.
Get the currently active context.
The context should never be null after the library was loaded.
This context is not particularly good for registering intent receivers since it may be changed occasionally. Use getApplicationContext in that case.
Note that this context might be the application context if there is no activity alive.
Be careful, when this context is not an Activity, you cannot use it to create dialogs. Use toasts and notifications in such case instead.
Return
The currently active context.