Contacts.People contains already deleted/out of date contacts

by Daniel » Fri, 13 Mar 2009 15:22:47 GMT


Sponsored Links
 Hi,
when doing the following query on the Contacts DB I observe some
really strange behaviour. I get old contacts which I have already
deleted or updated in the GMail web app. These wrong contacts are not
visible in GMail nor in the Android Contacts app. But they are still
within the DB. E. g. I get duplicated contacts with different _ids for
the same person after deleting an eMail address of some person. I have
already done some manual syncs, but it didn't help.

cursor = contentResolver.query(Contacts.People.CONTENT_URI,
                                        new String[] { Contacts.People._ID, 
Contacts.People.NAME },
                                        Contacts.People.NAME + " LIKE ?",
                                        new String[] { "myName..." },
                                        Contacts.People.DEFAULT_SORT_ORDER);

Am I doing something wrong or is there a known issue on this?
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. creating a dialog that slides in

how would one create a dialog box that slides in and out when done.

thx.

--~--~---------~--~----~------------~-------~--~----~

2. Development versions of proprietary Google applications

Hi,

I was wondering if there's any chance that you will release
development versions of the proprietary Google applications. I'm
guessing that the 'trunk' or 'main' version of them will be stable
enough for people to use them in their personal builds. I've been
diving into the source code of the platform, but if I compile the
system and put it on my Dev Phone, it's of course missing the Google
applications. These applications with their integration to the Google
services are a part of what makes the entire platform so interesting.

To clarify a bit: I'm not asking for those applications to be open
sourced, I'd just like to see regular builds of the applications and
used libraries, so we could include them in our own development
version of the platform. Of course the development version are not
suitable for 'production-critical' environments, but I'm guessing that
the main branch will be stable enough for developers to use.

Thanks,

Sander

--~--~---------~--~----~------------~-------~--~----~

3. Can I close automatically the browser when I use it to start another activity ?

4. How can I send SMS or call on CDMA

5. How to instrument code to find an OutOfMemory error (in WebView?)

6. Help required to get Android userland to boot on Gumstix Overo (TI OMAP 3503) + Palo43 LCD expansion board

7. IPv6