title: How to create Context object, which is required in calling SQLiteOpenHelper constructor
body: <p>I am creating some hack kind of thing in existing android code to verify database creation and its accessibility across layers in application.</p>
  
  <p>For this I have modified an existing function of .java file but I am facing an issue while calling constructor of SQLiteOpenHelper.</p>
  
  <p>The signature is <code>SQLiteOpenHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version)</code></p>
  
  <p>And I don't know how to create this Context instance. From googling I am seeing it is being some kind of activity class instance.</p>
  
  <p>What ways are there to create this Context instance? Do we have to have activity class implemented?</p>