Rahul Baradia Rahul Baradia - 13 days ago 5
Android Question

Cursor: invalid statement in "fillWindow();"

I am getting this error:


Cursor: invalid statement in fillWindow()


What does it mean? Any suggestions on how to overcome it?

Answer

now i have solved this problem. DB n cursor was not closed properly. when i was pressing back button its was getting crashed. so i used this code

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
    if(requestCode == ACTIVITY_EDIT )
    {
        finish();
    }
}      

by this activity we can close all DB.

Thanks to all for giving suggestions. enjoy take care :)