Most likely, by not closing the cursors before you read data from them.

Can't tell for sure until you post a stack trace from logcat.

-- Kostya

14.04.2011 11:01, amey bura пишет:
How to prevent or avoid java/lang/IllegalStateException when dealing
with Cursors. The program is giving this error while accessing data
from database..



--
Kostya Vasilyev -- http://kmansoft.wordpress.com

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

Reply via email to