4

I am getting this error:

Cursor: invalid statement in fillWindow()

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

Razor
  • 1,778
  • 4
  • 19
  • 36
Rahul Baradia
  • 11,802
  • 17
  • 73
  • 121

1 Answers1

2

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 :)

Rahul Baradia
  • 11,802
  • 17
  • 73
  • 121