Skip to content

Instantly share code, notes, and snippets.

@mikeplate
mikeplate / SimpleDatabaseHelper.java
Created February 23, 2014 15:46
Android SQLite very simple database helper example
package se.mobileapplab.datademo;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Class that wraps the most common database operations. This example assumes you want a single table and data entity