Get contact details to titanium from native iOS contact app

0 votes

I'm new to Titanium. Currently I'm working on a project in this the user needs to use the contact details from iOS contacts App.

My app.js looks like this

Window = require('ui/handheld/ApplicationWindow');
var win = Window();
win.open();
var button = Ti.UI.createButton({
    title : 'Show Contacts',
    width : 100,
    height: 50,
});
win.add(button);
button.addEventListener('click',function(e){
    Titanium.Contacts.showContacts({ });
});

When I click on a button the following code is displayed:

Contact list

And when I select an contact the detail is displayed on the other screen:

Contact details

But I don't want this, When the user selects an individual contact the details should be passed to my app.js file. And no need to go to the details page.

Is there any way to do this ? Please help me. Thanks in advance.


  •  
Nov 22 in Mobile Development by gaurav
• 22,040 points
20 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Mobile Development

0 votes
0 answers

How to open app from Twitter for iOS WebView on iOS 9

My question pertains to deeplinking from a ...READ MORE

Nov 10 in Mobile Development by gaurav
• 22,040 points
44 views
0 votes
0 answers

Is it possible to open my iOS app from instagram through a deeplink?

I do have a professional Instagram account ...READ MORE

Nov 17 in Mobile Development by gaurav
• 22,040 points
23 views
0 votes
0 answers

Opening Instagram app from a link on iOS

I am providing a feed which is ...READ MORE

Nov 8 in Mobile Development by gaurav
• 22,040 points
51 views
0 votes
0 answers

Remote control Samsung TV from iOS app

I wonder what are requirements for developing ...READ MORE

Nov 10 in Mobile Development by gaurav
• 22,040 points
30 views
0 votes
0 answers
0 votes
0 answers

Uploading photos to Instagram via your own iOS app

29 Instagram recently made a change to their ...READ MORE

Nov 11 in Mobile Development by gaurav
• 22,040 points
31 views
0 votes
1 answer

How do I create folder under an Amazon S3 bucket through PHP API?

Of Course, it is possible to create ...READ MORE

answered Apr 24, 2018 in AWS by anonymous
9,674 views
0 votes
1 answer

Detecting BLE beacons that are not ibeacons on IOS

You'll have to understand that CoreLocation is ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
479 views
0 votes
1 answer

Get User Group in Swift using AWS Cognito

The groups are exposed in the ID ...READ MORE

answered Nov 12, 2018 in AWS by Priyaj
• 58,100 points
959 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP