> Is there a way to write to a Cursor?
Yes, there is, Craig. Good question. I'll be happy to help.

You can subclass SQLiteDatabase.CursorFactory to return, from its
newCursor method, a subclass of SQLiteCursor. This factory gets passed
to the SQLiteOpenHelper constructor so, when you query it, it will
return Cursors of your new SQLiteCursor subclass type.

The SQLiteCursor subclass can then expose methods that manage its
protected mWindow field, which is a CursorWindow. This object has
putXxx methods to manipulate the data.

I haven't tried this myself, so if anyone has any tips or hints,
please post.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to