title: How to get reference of activity object?
body: <p>I want to show a messageBox or notification when connection lost in Static Database class.
  But I can't use getApplicationContext() as the class is static and I tried to call other class called notification but I have an error. So How could I pass activity object to my new class ?</p>