Hi, I've noticed quite a strange thing with Cursor object. If I use my own database (with SQLiteDatabase and SQLiteOpenHelper) and run some query on it (using any of SQLiteDatabase query() methods) this query is finished very quickly, in a few milliseconds. But then first call to some of Cursor methods (like getCount(), moveToFirst(), etc) takes 1000+ milliseconds! On the other hand if I query some ContentProvider (using getContext ().getContentResolver().query()) then this query takes about 100 milliseconds to finish, which is understood. But then first call (and subsequent calls) to any of Cursor methods described above is very fast.
My question is: Why first call to say Cursor getContent() is so long in case I use my database in contrast to using ContentProvider's? Am I missing something? :) Thanks in advance -- 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

