I am still having issues with the 'Invalid statement in fillWindow()' error.
I have narrowed the issue down to the SimpleCursorAdapter cursor for my ListView.
For example, if I am in the listview for an Activity A, and I close the cursor before starting a new Activity B, I don't get the 'Invalid statement in fillWindow()' when I return to Activity A.
However, before Activity B loads, I see the list from Activity A's listview disappear on the screen, and the 'No Records Found' message is displayed briefly before the screen is hidden, before Activity B's screen is shown.
How can I gracefully resolve this issue?
EDIT:
I actually figured this out this morning. I added
this.stopManagingCursor(this.myListCursor);
to the onPause method in my ListActivity classes, and that resolved the 'Invalid statement in fillWindow()' error.