Earlier today we released the Android 2.0 SDK, which has a
much-improved contacts API:

http://d.android.com/reference/android/provider/ContactsContract.html

You can now insert custom "Data" rows under a RawContact to store
custom fields.  You should try leveraging the existing CommonDataKinds
first, since most UI will understand how to render them.  If you end
up needing a custom row, pick a unique Data.MIMETYPE for your data,
for example something like "vnd.edu.example.cursor.item/contact_class"
would work.

j

On Mon, Oct 12, 2009 at 6:55 PM, stanlick <stanl...@gmail.com> wrote:
>
> Can a seasoned droid help me with the steps necessary to add a couple
> simple attributes to the stock Android Contacts application.  Also, in
> the event the vendor has shipped their own Contacts application, will
> the same solution apply equally well to those handsets shipped with
> custom apps?  I'm not looking for anyone to supply code; just a design
> pattern and any caveats I need to be aware of.  I am writing an
> application that requires a couple new properties on the contact.
>
> Peace,
> Scott
> >
>



-- 
Jeff Sharkey
jshar...@android.com

--~--~---------~--~----~------------~-------~--~----~
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