Code example for SQLiteOpenHelper

Methods: close

    // Closes the SQLite database helper class, to avoid memory leaks 
    public void close() { 
     * Defines a helper class that opens the SQLite database for this provider when a request is 
     * received. If the database doesn't yet exist, the helper creates it. 
    private class DataProviderHelper extends SQLiteOpenHelper {
         * Instantiates a new SQLite database using the supplied database name and version 
         * @param context The current context 
        DataProviderHelper(Context context) {
Connect your IDE to all the code out there  Get Codota for Java