[android-developers] Re: [Android 2.0] Contacts FAQ?

2009-12-14 Thread Mo
Hi Rachel, This is a very informative and helpful blag. I really helped me in with questions I had about 2.0 API changes for Contacts. One thing I am still not able to resolve is How to get all the email address for a contact As you mentioned in your explaination that

[android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-18 Thread GDroid
I would like to add one more question to this issue: 15) What is the best way to write the code so in case the API Level is below 5, some of the contacts actions can still be done correctly. As far as I've checked when publishing an application on the market there is no way to publish two apks,

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-18 Thread Rachel Blackman
On Nov 18, 2009, at 1:43 AM, GDroid wrote: I would like to add one more question to this issue: 15) What is the best way to write the code so in case the API Level is below 5, some of the contacts actions can still be done correctly. As far as I've checked when publishing an application

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-18 Thread Jeff Sharkey
15) What is the best way to write the code so in case the API Level is below 5, some of the contacts actions can still be done correctly. Here's an excellent example that uses new ContactsContact APIs when available, or otherwise falls back to the original API:

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-17 Thread Jeff Sharkey
4) What sort of identifier should I represent a contact with in my local data, so I can later get their most-current data? Use lookup-style Uris, as they are designed to help with fuzzy resolution when the contact changes, or is split/joined by the user. Contacts.getLookupUri() and

Re: [android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-17 Thread Rachel Blackman
On Nov 17, 2009, at 10:21 AM, Jeff Sharkey wrote: [ ... snip ... ] Thank you! I'll try to write up an updated FAQ this evening, with some short examples written for various queries, and post a draft. :) -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: [Android 2.0] Contacts FAQ?

2009-11-14 Thread Bonifaz
A Blog entry about the new Contacts API from Google covering these points would be helpful. -- 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