Of course there is a faster way. Run a second query that identifies the required row (make sure the condition is indexed) and throw the cursor out of the window.
On Wednesday, March 21, 2012 3:22:24 AM UTC-4, Zsolt Vasvari wrote: > > I run the exact same query twice in parallel: once in the UI thread (I > know I shouldn't, but it's fast) and then I run it again in the AsyncTask, > this time reading through the entire cursor to find a particular row index. > (Is there a faster way to do that in SQL, btw?). > >> >>> -- 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

