It tells me that my database version must be 0 >= 1 and if I put 1 it tells me that it can’t upgrade it from 0 to 1.
myDB constructor:
public database(Context context) {
super(context, DB_Name, null, DB_Version); // DB_Version doesn't work if it is 0 or 1
// TODO Auto-generated constructor stub
}
An instance is created like this from another class:
dbClass = new database(this);
Delete the db and recreate with
version = 1initially.