Um, you might try something like "select RoomID as _id ..."

                        Best / Jonas

On 12/03/2010 08:40 AM, Kumar Bibek wrote:
You cannot in this case. This is a mandatory requirement.

"pramod.deore"<[email protected]>  wrote:

Hi Bibek, Thanks for reply. But my table RoomTable have only three
columns, RoomID, RoomName, and RoomSuffix. It doesn't have  _id field.
Then how to use Cursor Adapter here.

On Dec 3, 11:55 am, Kumar Bibek<[email protected]>  wrote:
Cursor Adapters require the table to have a _id field. Else, you would get
this exception.
Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com



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

Reply via email to