Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
423 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...