电脑与手机之间的蓝牙客户端/服务器通信
我只需要一个使手机和计算机通过蓝牙进行通信的基本示例或教程。
一个好的链接/网站也值得赞赏。
服务器部分(计算机部分)可以使用多种编程语言(Java、C++、Python 甚至其他语言)制作。
客户端部分(手机)必须是Java Micro Edition MIDlet。
I need just a basic example or tutorial of making a mobile phone and a computer communicate via Bluetooth.
A good link/website to start from is also appreciated.
Server part (computer part) can be made on many programming languages (Java, C++, Python or even something else).
Client part (mobile phone) must be a Java Micro Edition MIDlet.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过多天的研究,我成功制作了一个应用程序,可以将计算机上鼠标光标周围区域的屏幕截图(实时)发送到手机客户端。
客户端和服务器都是用Java编写的。
我使用 BlueCove 制作桌面部分。它是 JSR-82 实现(与 MIDP 中的协议相同),因此桌面和移动部分共享大量代码。
如果有人需要它,我会将应用程序发布为公共领域,不承担任何责任。
下载代码
我'我并不为此感到自豪。毕竟我写这本书的时候才15岁。代码在某些地方很糟糕,但我喜欢为代码重用进行抽象。
After many days of research, I managed to make an application that sends (in real time) screenshots of area around the mouse cursor on a computer to a mobile phone client.
Both client and server are written in Java.
I used BlueCove to make the desktop part. It is a JSR-82 implementation (the same protocol as in MIDP), so desktop and mobile parts share a lot of code.
In case someone needs it, I release the application as public domain, without any responsibilities.
Download the code
I'm not really proud of it. After all, I was 15 when I wrote it. The code is horrible in some places, but I enjoyed making the abstraction for code reuse.