junker37 wrote:
> An sqlitecursor, I create them like this:
> 
> Cursor cursor = database.query(table, null, null, null, null, null,
> null);
> and
> Cursor cursor = database.rawQuery(table, null)

That should work fine, then, with startManagingCursor(). The Cursor will
be called with requery() automatically during the onResume() process, to
get the latest data.

If your Cursor is coming back empty, perhaps your query is no longer
valid, or perhaps you closed the database, or something.

The List2, List3, List7, and Gallery2 API Demos (found in your SDK)
demonstrate the use of startManagingCursor().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in Germany, 18-22 January 2010: http://bignerdranch.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