How do we then get all contacts/phonenumbers from all accounts?
If I use the new Contacts API and send an ACTION.PICK for phone
numbers like

Intent i = new Intent(Intent.ACTION_PICK,
android.provider.ContactsContract.CommonDataKinds.Phone.CONTENT_URI);

it doesn't give me for example Facebook account phone numbers.

even

Intent i = new Intent(Intent.ACTION_PICK,
android.provider.ContactsContract.Contacts.CONTENT_URI);

doesn't show a list of all available contacts from all accounts (again
I tried with Facebook contacts and they didn't show up).

Dianne, could you please tell us how we use the PICK intent to get a
list of all available phone numbers from all accounts.

This would be really helpful.


On Nov 17, 3:31 pm, Dianne Hackborn <hack...@android.com> wrote:
> On Fri, Nov 6, 2009 at 6:31 PM, Ravi <textlo...@gmail.com> wrote:
> > Now 2.0 Breaks every thing.
>
> Wow that's pretty over-the-top.  The original contacts API still works, as
> long as you weren't using private parts of it, and only for the primary
> Google account.  So it still gives you the same functionality (the new
> feature of additional accounts is not accessible from it, but that is why a
> new API was required) as before.  And as we've said repeatedly for
> everything, if you use private APIs you will break in the future, so that
> shouldn't be a surprise.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to