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 intern开发者_开发问答et but no proper solution was found in any website.
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.
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.
精彩评论