how can I programatically get the contact list of android/Iphone using titanium -
how can programatically contact list of android/i-phone using titanium
, need read purpose.
i checked can user's phone number using of titanium api's?, open using app , dial call selected number, app not perform other action(edit, delete) on number. possible in android , iphone using titanium or simple android , iphone? in advance.
first need gain access contacts described here.
after possible contacts via getallpeople
this works both ios , android.
performing call works simple on android (you should create phone call intent ti.android.action_dial
). on ios need display number , system should link call action. if not can add listener element:
label.addeventlistener('click', function(e) { ti.platform.openurl('tel:<number'); });
Comments
Post a Comment