I need to get the contact list from the LDAP Server running on Linux.Is it there any android code or intent to access the ldap contents directly or we should only use the web services to access the ldap?I tried searching on the internet but no proper solution was found in any website.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
DanielWeisser already did that. The project is on GIT, you can modify source if you let the credentials. https://github.com/weisserd/LDAP-Sync
He used the UnboundID LDAP Librairy to make this.
Good luck.
回答2:
You should try the LDAP client application https://market.android.com/details?id=com.unboundid.android.ldap.client&feature=search_result. It provides the ability to do searches in an LDAP directory and access the results directly (e.g., dial phone numbers, send e-mail, map/navigate to addresses, etc.) as well as add them to your contacts.