我应该使用哪个库来导入包“javax.obex.ClientSession”用爪哇语?
我有一个将文件发送到移动设备的程序。在 NetBeans IDE 中打开它后,它在下面所示的行中显示错误,
import javax.obex.ClientSession;
import javax.obex.HeaderSet;
import javax.obex.Operation;
它显示错误,因为包不存在。我应该怎么做才能纠正这个错误?
i got a program that send file to mobile device. After opening it in the NetBeans IDE it shows error in the lines shown below
import javax.obex.ClientSession;
import javax.obex.HeaderSet;
import javax.obex.Operation;
it shows error as package does not exist. what should i do to correct this error ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
findJAR 是一个有用的 JAR 搜索引擎,可以帮助您查找包含指定类的 jar。
只需搜索
javax.obex.ClientSession
,它就会告诉您它存在于 bluecove-2.1.0.jar 以及您可以从中下载 jar 的位置。findJAR is a useful JAR search engine that will help you find jars containing a specified class.
Just search for
javax.obex.ClientSession
and it will tell you that it is present in bluecove-2.1.0.jar and also where you can download the jar from.http://bluecove.org/
这是下载页面:http://code.google.com/p/bluecove/downloads/list
http://bluecove.org/
Here's the download page: http://code.google.com/p/bluecove/downloads/list