AddressBook

With this API, you can easily get full information about your contacts on Android device.

AddressBookController.Instance.LoadContacts ();
AddressBookController.OnContactsLoadedAction += OnContactsLoaded;	

When information of the contacts will be loaded you can get it from next method:

void OnContactsLoaded () {
	AddressBookController.OnContactsLoadedAction -= OnContactsLoaded;
	List<AndroidContactInfo> all_contacts = AddressBookController.Instance.contacts;

	AN_PoupsProxy.showMessage("On Contacts Loaded" , "Andress book has " + all_contacts.Count + " Contacts");

	foreach(AndroidContactInfo info in all_contacts) {
		_name.text = "Name " + info.name;
		_phone.text = "Phone " + info.phone;
		_note.text = "Note " + info.note;
		_email.text = "Email " + info.email.email;
		_chat.text = "Chat.name " + info.chat.name;
		_address.text = "Country " + info.address.country;
							
		break; //if you want to get full information about each contact, you must to remove this break.
	}
}

You can also get more info about your contact. Just select what you need from the provided class:

public class AndroidContactInfo {
	public string name;
	public string phone;
	public string note;
	public AndroidABEmail email;
	public AndroidABChat chat;
	public AndroidABAddress address;
	public AndroidABOrganization organization;
	public Texture2D photo;
}

Example Scene:

Plugins -> StansAssets -> Modules -> AndroidNative -> xExample -> Scenes -> Other -> AddressBookExample