Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

How to select multiple contacts from address book?

$
0
0

Hi, I tried to access and select multiple contacts from address book, i can able to select single contact form address using the below code. i want to select multiple contacts from address book.

Source Code:

button.addEventListener('click', function(e) { //button contact Ti.Contacts.showContacts({ cancel: function(c){ Ti.API.info('*** Section cancelled: '+JSON.stringify(c)+' '); }, selectedPerson : function(e) { Ti.API.info(' Obtained Value: '+JSON.stringify(e)+' ***'); label2.text = e.person.phone.home[0]; } }); }); win2.add(button);

Anyone please explain?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>