Open sqlitedatabase detail understanding issue


#1

in code list 14-4 it says:

private Crimelab(Context context){
mContext = context.getApplicationContext();
mDatabase = new CrimeBaseHelper(mContext).getWritableDatabase();


}

where it throws me off is that the difference between the following code and above:

private Crimelab(Context context){
mDatabase = new CrimeBaseHelper(context).getWritableDatabase();


}

I dont know why we need to use method getApplicationContext().