Rahul Baradia Rahul Baradia - 1 year ago 88
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 Source

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

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

by this activity we can close all DB.

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download