Re: [android-developers] Re: Database cursor as null

2011-10-09 Thread gyanu maharjan
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

[android-developers] Re: Database cursor as null

2011-10-08 Thread lbendlin
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

[android-developers] Re: Database cursor as null

2011-10-08 Thread decode
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