How to receive image in android sent by a server using Obex FTP

别说谁变了你拦得住时间么 提交于 2019-11-29 12:59:09

I recommend you to import javax.obex library. This library has nice APIs that helps you work with OBEX protocol. However, I had some problem using the library, because I couldn't find the package from the compiler bundle. I solved this problem by copying entire source files of javax.obex linked here.

The next problem was implementing the ObexTransport, but I sloved this problem by modifying this, as it caused runtime error that some methods are missing.

The last step is to open a bluetooth OBEX server using the apis. This and this files will help a lot.

P.S. I am developing an android bluetooth OBEX telnet(?) server and going to lost my source files on github. I will let you know later if you want. Anyway I hope my answer helped.

Edit: I posted more detailed explanation here. And Github repository here.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!