Brm BT Remote Source Code
You can download the complete source code here or browse the SVN tree directly.
Here's a list of things you can learn from the source code:
Bluetooth Remote Control Server (C++ / MFC)
- How to deal with unicode - a lot of examples in ProfileEditor.cpp
- How to read unicode text files and how to write unicode files
- How to retrieve environment variables for example for easy access to application data (%APPDATA%)
- How to convert Unicode string to UTF-8
- How to create a server-side Bluetooth socket using MFC sockets (you might want to check the header file for an overview first)
- Handle a tray icon in MFC
- How to load a class from a plugin (Object oriented plugin architecture) - see also PluginBase.h and an example DLL exported function
- And much more, mostly MFC related stuff... Browse Brm Bt Remote source code »
Bluetooth Remote Control Client (J2ME)
- How to use Java forms, lists, canvas and other GUI elements (Browse the source code)
- How to search for Bluetooth devices and how to open a connection
- How to send data via Bluetooth
- How to receive data via Bluetooth in a non-blocking way
- And more... Browse Brm Bt client source code »