android - No such table: while compiling Delete Table ... but I'm not deleting any table -
i'm getting error message no such table ... while compiling delete .
here's problem: don't ever delete table!
i've tried run through code, , here happens: datasettings.java 1.
protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate);
it jumps databasehelper.java
super(context, database_name, null, database_version);
question: why? why jump databasehelper.java. there in code tells that.
it goes datasettings.java. next line is:
setcontentview(r.layout.activity_data_settings); name = (edittext) findviewbyid(r.id.name);
then crashes. telling have no such table feature_test_table: while compiling delete x.
i'm baffled. going on? i've gone through , i've tried erase has word delete in it. still error message. due upgrading kepler?
2 links sample code: http://textuploader.com/1l0s
you calling constructor of sqliteopenhelper in line of databasehelper.
super(context, database_name, null, database_version);
sqliteopenhelper requires implement oncreate() method have not. should start there overriding method in databasehelper.
Comments
Post a Comment