开发者

Bluetooth client/server communication between computer and mobile phone

开发者 https://www.devze.com 2023-01-06 13:27 出处:网络
I need just a basic example or tutorial of making a mobile phone and a computer communicate via Bluetooth.

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开发者_StackOverflow中文版.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号