I believe you use the contacts as data source for a reciever, so you
read from them a bit like reading from an SQLite db, you also need to
have the permission in your manifest.

I can't remember the exact nature, but it's not quite an API, it's
more about how you access data from other applications in android in
general.  Contacts is a content provider accessed using it's URI:

content://contacts/people

You can read about content providers in the docs:

http://developer.android.com/reference/android/content/ContentProvider.html

Google for a tutorial and you should find something which details how
to read them.

Hope that helps.


On Oct 24, 1:11 pm, sam <[email protected]> wrote:
> Hi guys,
>
> Does anybody have any sample code to access/get the postal addressed
> of a contact using Contact API?
> I searched the sdk doc but did not find enough info to do this.
>
> Thanks for any help you can provide.
>
> Sam
--~--~---------~--~----~------------~-------~--~----~
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