Menu

UnboundID ldap sdk on android

Annapoorna
2014-02-07
2014-02-07
  • Annapoorna

    Annapoorna - 2014-02-07

    I'm trying to create an android app that lists AD users. In that process I came to know about unboundID ldap sdk. Can it be used in my app? I downloaded it and included the jar file as External jar in my project. I also included the zip file in the source attachment by extending the jar file in Java build path of my project. When i try to run my app, i get runtime error 'could not find com.unboundID.ldap.sdk.*' although i added the jar file. What does that mean? Can I not use unboundID ldap sdk in my android app? If i can, then how to use it in my app? Kindly help me!

     

    Last edit: Annapoorna 2014-02-07
  • Neil Wilson

    Neil Wilson - 2014-02-07

    The UnboundID LDAP SDK for Java may be used on Android devices. There are a couple of minor limitations (e.g., some SASL mechanisms like CRAM-MD5, DIGEST-MD5, and GSSAPI aren't available because the underlying Android Java environment doesn't include the necessary support), but most things should just work. The LDAP SDK even includes code for a sample Android app in the android-ldap-client subdirectory. The README.txt file in that directory provides instructions for how to compile and install it.

    In your case, if your app doesn't see the LDAP SDK, then it's probably the case that you didn't put the unboundid-ldapsdk-se.jar file in the correct location. It should be in the libs directory that is created when you create the Android project.

     

Log in to post a comment.