Created java class DBOperations i android project to realize database operations but found that some operations need Context object. Couldn't get it with this or getapplicationcontext method. I decided to pass context object as a paramether,e.g.
Mymdhod(this);
Is it correct way or there are other methods to get application context?