Javax.naming.* 移植到 Android?
有谁知道 LDAP 包(或 javax.naming.*
)移植到 Android 吗?我希望根据用户的输入实现完整的联系人搜索。
我让它与 Java 版本的应用程序配合使用,但当我将其移植过来时,Android 不支持 javax.naming.*
。如果没有办法移植该 API,是否有办法包含它?
谢谢!
Does anyone know of a LDAP package (or javax.naming.*
) port to Android? I'm looking to implement a full contact search based on input from the user.
I have it working with the Java version of the app, but as I port it over, Android doesn't support javax.naming.*
. If there isn't a way to port that API, is there a way to include it?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
适用于 Java 的 UnboundID LDAP SDK 适用于 Android 以及 Java SE/EE。它甚至包括一个简单的 Android 应用程序的代码,可用于在 LDAP 目录中执行搜索。
The UnboundID LDAP SDK for Java works on Android as well as Java SE/EE. It even includes the code for a simple Android app that can be used to perform searches in an LDAP directory.
我认为你把事情搞混了一点。 LDAP 服务器在移动设备上不可用。要搜索联系人,您可能应该查看此。
I think you are mixing the things a bit. LDAP servers are not available on mobile. To search contact you should probably look at this.