29.03.2011 21:59, marceo пишет:
If i use an extra attribute id INTEGER PRIMARY KEY AUTO_INCREMENT and
i only want Data from 1 Tabel, everything works fine.

CursorAdapter requires that the primary key is named "_id".

If you want your primary key to have a different name, use a projection to remap "magazineId" to "_id". Or just rename the column in the database.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to