hi , i have solved similar problem.i have a list generated from the phone
contact and on the top of populated list view i have added text field and
search button so the user can search from the populated list.You and my
fuction seems similar i.e list view Since i am using list view i used cursor
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
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
3 matches
Mail list logo