I will hazard a guess that you have this in your code:
public static final String KEY_DOWNLOADED = "downloaded";
The reason for the error message is that...
table audios has no column named downloaded
Really. It doesn't, just as the error message says.
If you re-read your table-creation SQL, you'll notice that the column name is actually download
, not download
ed.
So correct your code to use the correct column name and you should be set. Note that correcting the code could mean either:
- changing the column name in your table to be
downloaded
instead of justdownload
. Personally I would go with this one, unless you have lots of other code already usingdownload
, sincedownload
in my mind is eithera download
orto download
, nothas been downloaded
, but it really depends on its actual meaning - changing the column name in the SQL that accesses the table to use the same column name as the table
Lasse V. Karlsen
2010-05-06 03:58:38