i have 3000 contacts in my G1.And i need to display all of them in a
app.
I have used a thread to query them and set them to a view.(using
Handler.)

But this is also not very fast.I need to display them  all ASAP....

Now im considering about first displaying  a part of the
contacts ,when the user scoll the listView,then i add the other
contacts.

But  now i have some problems.

1. How to query the first 200 contacts in the contacts. I have to
use
public final Cursor query (Uri uri, String[] projection, String
selection, String[] selectionArgs, String sortOrder).
How to make up the selection? Top200?

2.Is custom cursor usefull here? What the cursor here can do ?
  And how to implements a Cursor?How to override all the abstract
methods?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to