Are you not closing the cursor before it goes out of scope and gets gc'd?

When this happens again, resume the application and check the logcat, if my
guess is correct, there'll be a warning message there.

--
Kostya Vasilyev
15.07.2011 0:50 пользователь "Simon Platten" <[email protected]>
написал:
> I have an activity which scans the SD-Card for files, whilst it is
scanning
> it displays a progress dialog that shows the folder and file name, these
are
> updated using the runOnUiThread method.
>
> This works ok, I added support for SQLite to write the findings into a
> database, unfortunately sometime into the scan the debugger jumps off into
> SQLiteCursor.class.
>
> I have try / catch clauses throught my database class derived from
> SQLiteOpenHelper, I have spend quite a whilte trying to determine what is
> happening, but unfortunately come up empty. Any suggestions as to how I
can
> pin point where the problem actually is?
>
> Thank you,
>
> --
> Regards,
> Sy
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to