Code example for SQLiteDatabase

Methods: getVersion

0
				break; 
			case 0: updater = null;
				break; 
			} 
 
			if(version > mDb.getVersion() + 1){
				updater.setUpdater(getUpdater(version - 1));
			} 
			return updater;
		} 
	} 
 
} 
/** 
 * Database updater. Build around Decorator pattern. 
 *  
 * @author Bartosz Cichosz 
 * 
 */ 
abstract class DatabaseUpdater { 
	private DatabaseUpdater mUpdater;