Hello 

I have a problem with my application that is working on previous version 
Android when resuming the application. I have used managedQuery and I knew 
that it was being deprecated but since I want to target for older version 
as well.  

Everything works fine if I am not click back or moving the application or 
activity to the background and resuming the application again. When I am 
going to resume the activity  either click on back button or bring it 
forward the application from background, the application closed and the 
error saying StaleDataException and saying that I am attempting to access 
the cursor the is already been closed.

I have a gridview that is loaded the data using CursorAdapter to populate 
the thumbnail images. When I looked at it , I have not closed the 
managedQuery myself. so why does it have no problem on older version but in 
ice cream sandwich OS.

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