The data is quite huge, Like 10,000+ rows.
cursor is declared in a helper class ...  a public class. I am closing
the cursor in onDestroy of the class extending Application.

There is a null check before launching the second activity. But, in
second activity it is null. Doesnt happen always and not reproducible
on our devices. Was reported by some users.





On Oct 9, 8:27 am, lbendlin <l...@bendlin.us> wrote:
> is your cursor declared in the application or in the activity?
>
> As you already realised there is no real need to hold on to the cursor. All
> you need is the index of the table line for which you want to show the field
> data in the second activity.

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