51 | 52 | 53 | 54 |
55 |
56 |

                Contacts List

57 |
58 | 59 | 60 |
61 |

icon_precise

62 |

Contacts List is plugin for unity3d to view mobile contacts information.
63 | It works for Android and iOS

64 |

Quick Start

65 |

Create new scene and add ContactsListGUI to any gameObject in the scene, the add the scene to build settings and make build on Android or iOS , you will find this build on mobile showing you all your contacts name , all phones number and photo.

66 |

 

67 |

Slow Start :)

68 |

So how this is done and what you have to know to make your own GUI of managing your contacts.

69 |

All magic come from Contacts class, you can check ContactsListGUI how it is using this class . before any thing you have to call Contacts.LoadContactList(); this will start loading (in seperate thread) all information to this class from your phones including photo as well.

70 |

71 | Note for iOS after build to xcode you may need to add addressbook.framework to the project

72 |

Homework

73 |

go to all property of “Contact c” in previous code and print it to Console

74 |

Any Question ?

75 |

if you have any issue please visit
76 | https://github.com/aliessmael/Unity-Contacts-List

77 |
78 |
79 |
80 |
81 | 82 |
83 |
    84 | 85 |
86 | 87 | 88 |
89 | 90 | 91 |