Hello there... I have to make a bluetooth application, but I don't know exactly what APIs to use. I want to make a simple remote control application, involving a mobile phone with bluetooth (no OBEX) and a PC that has a blue soleil bundle stick.
I read all about bluetooth protocol stack. I read some stuff about Bluetooth APIs, but I don;t know wich API is easier to use for my application.
Application Summary:
Mobile Part: The mobile application must act as a client, connecting to the computer. The main functions that this application must do are: sending files to computer, sending messages to computer (a message is a string, and I think will look like this: open <file path>)
Computer Part: Computer application will run as a server, waiting for clients to connect. The main functions of the server are: receiving and storing files from client(s), opening files (this one is easy, I just need to make a command line to open a file with the associated application) and, most important, sending system messages (u know, all the system messages).
Sending system messages is important to simulate the remote control. Imagine a PowerPoint file; with a press of a button on the cell phone, I should be able to open the file; then, with another button on the phone, I should be able to press the computer's ENTER key to put my slidings into full screen; with yet another button, I must simulate a click on the mouse to change slides.
On the mobile part, there are some APIs I've found on the Internet some Java APIs like J2ME, bluecove, benhui. What is the easiest to learn and easiest to use to make my mobile application? Where can I find the best tutorials to learn the main functions; step by step tutorials are my favorites.
On the computer part, I don't think I can use Java, because I don't think I can send system messages to the OS. I would like to use Visual C# or Visual C++ development tools, but I don't know what classes should I use. On MSD I found that a way to connect via Bluetooth is using the COM port, or via another class (I don't remember exactly its name). The problem with the second solution (who I think is most simpler and nicer) is that I've tried to intall Microsoft Bluetooth Device or something like this, but still, I cannot see it on System Resources; only the blue soleil appears.
Ok.. Enough writing... So, if anyone can help me, if anyone tried to make something similar, I'll be thankful to post here some links to tutorials, code or anything else that my be of value.
Later Edit: The mobile phone used for testing is a Nokia 6230i. But I would like the application to run on as many mobiles as possible...

Reply With Quote


