Bluetooth client/server communication between computer and mobile phone

﹥>﹥吖頭↗ 提交于 2019-11-27 04:38:32

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/3198306/bluetooth-client-server-communication-between-computer-and-mobile-phone

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