Where to close the SQLiteOpenHelper if i am using a singelton one
<p>i have the following class that permit user to get a <code>SQLiteOpenHelper</code> object </p>

<pre><code>import android.content.Context;

public class DBUtils {  

    private DBUtils(){

    }


    private static DBHelper dbHelper ;


    public static synchronized DBHelper getDBHelper(Context context){

        if(dbHelper == null){
            dbHelper = new DBHelper(context, ApplicationMetaData.DATABASE_NAME, null, ApplicationMetaData.DATABASE_VERSION);
        }
        return dbHelper;


    }



    public static synchronized void closeDBHelper(){

        if(dbHelper!=null )
            dbHelper.close();
        dbHelper = null;
    }


    @Override
    protected Object clone() throws CloneNotSupportedException {
        // TODO Auto-generated method stub
        throw new CloneNotSupportedException();
    }

}
</code></pre>

<p>i want to know where should i <code>close</code> this singleton object i can't relay on the <code>onTerminate()</code> method since it will not be called . i want to close it when the user exit my app ? any solution for this  </p>
