[android-developers] Re: Why this Exception is coming ?

2010-06-30 Thread Al Sutton
When using a SimpleCursorAdapter one of the columns returned by the query used to create the cursor should be called _id and is used as the id value for the row. SimpleCursorAdapter is a descendant of CursorAdapter which states the requirement for the _id column (see http://developer.android.com/r

[android-developers] Re: Why this Exception is coming ?

2010-06-29 Thread GJTorikian
The database URI you're trying to access doesn't have an "_id" column. On Jun 28, 11:53 pm, dinesh_adwani wrote: > 06-29 11:38:25.544: ERROR/AndroidRuntime(26215): Caused by: > java.lang.IllegalArgumentException: column '_id' does not exist > 06-29 11:38:25.544: ERROR/AndroidRuntime(26215):     a

[android-developers] Re: Why this Exception is coming ?

2010-06-29 Thread Kumar Bibek
Simple java.lang.IllegalArgumentException: column '_id' does not exist Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com On Jun 29, 11:53 am, dinesh_adwani wrote: > 06-29 11:38:25.544: ERROR/AndroidRuntime(26215): Caused by: > java.lang.IllegalArgumentException: column '_id' does no