Did anyone else find that when you dump all your contacts to a
ListView, you see "hidden" contacts that don't show up in your regular
contact list under the Dialer?

I found nameless contacts, contacts with names but no numbers.  When I
returned their email address, I found emails to sale-
<number>@craigslist.org, as well as one for a Dana Thompson and a TJ
Brown.

These are people I don't know, and never new existed.  And oddly
enough, the Dana Thompson individual is some CPA in Maryland (see:
http://danathompsoncpa.com/Contact_Us.htm).

Now, I got my phone new, in a sealed box, from a just opened box
shipped to the T-Mobile store where I picked it up.  I'm wondering if
they are part of the image used to make the phone?  It's very odd.

Here's the code I used to return the contacts:

        final Uri data = Uri.parse("content://contacts/people/");
        final Cursor c = this.managedQuery(data, null, null, null,
null);
        String[] from = new String[] {People.NUMBER, People.NAME};
        int[] to = new int[] {R.id.itemNumber, R.id.itemName};

        SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
R.layout.listitemlayout, c, from, to);
        ListView lv = (ListView)this.findViewById
(R.id.contactListView);
        lv.setAdapter(adapter);

Anyone else getting weird results?

Brenton

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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