سؤال

I am getting this error:

Cursor: invalid statement in fillWindow()

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

هل كانت مفيدة؟

المحلول 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 :)

نصائح أخرى

Do you see this link?

I think this link must have solution for your problem

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top