New Android ‘People API’ seeks to make managing contact data a snap for devs

by: John DyeFebruary 11, 2016
558

contacts

This week on their official blog, Android developers announced the introduction of the People API, which will seek to replace the current Contacts API. This new system, which drops the GData protocol in favor of some new ones that should make it easier for users to grant and restrict access to their personal information on an individual or categorical basis.

Android robotSee also: Android N doing away with Oracle’s Java APIs, OpenJDK to be the new standard18

Laurence Moroney, Developer Advocate for Android, sums it up like this:

For example, if your user has contacts in her private contact list, a call to the API (if she provides consent to do so) will retrieve a list containing the contacts merged with any linked profiles. If the user grants the relevant scopes, the results are returned as a people.connections.list object. Each person object in this list will have a resourceName property, which can be used to get additional data about that person with a call to people.get.

This basically streamlines the gathering of contact data, trimming the previous method that required tapping two different APIs, Google+ and Contacts. People API also exposes new data that apps weren’t able to access before, such as phone numbers, e-mail addresses, physical addresses, and even birthdays. The user, of course, will have to have given permission for this information to be accessed.

Google hopes that Android developers will be eager to take advantage of the new capabilities this API offers and be inspired to come up with new and creative uses for it. If you’d like to read more about this new release, check out the blog post here. In the meantime, what are your thoughts regarding this new API? A long-awaited boon to the dev community, or just business as usual? Let us know what you think in the comments below!

hand-laptop-notebook-typingNext: Top Android performance problems faced by app developers5
  • Dashesh Chauhan

    The page does not exist. :/

  • Preaching

    While it is an improvement on the old method it doesn’t really provide anything new. It definitely won’t help devs “manage” contacts since the three methods it provides are all read-only. It would be nice if they allowed updating the contact info. This is really only useful for those apps looking to harvest your contact details not really manage them.