Enrico, I appreciate the feedback there. Actually this runs pefectly on 2.2 - 3.*. Its only when I deploy to 4.0 that I start to get the error. There is something in the change to 4.0 that is causing the issue, though I am unclear what that may be.
Nathan On Wed, Dec 21, 2011 at 5:54 AM, caruso <djta...@gmx.net> wrote: > Simple Cursor Adapter inherits the CursorAdapter where the docs the > following > sentences say: > > Class Overview > Adapter that exposes data from a Cursor to a ListView widget. The Cursor > must include a column named "_id" or this class will not work. > > http://developer.android.com/reference/android/widget/CursorAdapter.html > > so you can use: > String CREATED - The date the item created, in milliseconds since the > epoch. > String DATE - The date the item was last visited, in milliseconds since the > epoch. > > I haven't tested it but it is worth a try. > > Enrico > > Re: SimpleCursorAdapter & Managed Query > Dec 21, 2011; 11:27am — by Dragos Pop > > It seems that at "Java" level, the SimpleCursorAdapter needs a key field > > called _id. See also > > > http://stackoverflow.com/questions/5825020/android-column-id-does-not-exist-problem > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/SimpleCursorAdapter-Managed-Query-tp5063665p5091540.html > Sent from the Mono for Android mailing list archive at Nabble.com. > _______________________________________________ > Monodroid mailing list > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid >
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid