« Back to Cius Developer Questions

Adding an IM contact programmatically

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi all
 
We have an android application that pulls contacts data from our datasource and adds it to cius contacts. Contacts are being added to the recorded jabber account of the cius user. Although we add an Im field and Im address to the contact, we are unable to see the contact on Chat application. It is needed to transfer the contact to achat application manually.
 
The question is, is there any way to add a contact to chat application programatically? May be with a Content Provider?
 
Thanks
 
Ergin

There does not appear to be a content provider published by the Chat app, and not aware of any additional on-device APIs for this.  The Chat application does sync its contact list with its configured presence server (Cisco Unified Presence or Webex Connect), so the indicated solution would be to use the web services APIs into those products to manage IM contacts.  These should sync back down to the Cius (notwithstanding an issue you've identified with that behaviour.)