Code example for SQLiteOpenHelper

Methods: close

0
		if (this.readDB != null) {
			readDB.close();
			readDB = null;
		} 
		if (helper != null) {
			helper.close();
			helper = null;
		} 
	} 
 
	public static class Record { 
		public static final String[] COLS = { "_id", "name", "desc" };
		public static final String DEFAULT_ORDER_BY = "_id asc";
		public long id;
		public String name;
		public String desc;
 
		public Record(long id, String name, String desc) {
			super(); 
			this.id = id;
			this.name = name;