Android Contentresolver.query() Throwing Exception When Passing A String[] Projection Argument
In my current Android project I'm facing with a strange error. Everytime I issue the query method I get errors saying that the columns of the passed projection String[] argument do
Solution 1:
add BaseColumns._ID to projection array. this is the required column when using the CursorAdapter (and i'm assuming from the context that you are using SimpleCursorAdapter)
Post a Comment for "Android Contentresolver.query() Throwing Exception When Passing A String[] Projection Argument"