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); 
  1. 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

http://textuploader.com/1l0c

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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -