Bluepad - a Bluetooth shared sketch board for P900 phones
The BluePad application is an example Bluetooth MIDlet that was designed for the Sony Ericsson P900 phone. The application requires two phones with touch screens and support for JSR-82.
To run the application connect one phone as the server and the other as the client. Start up the server on one phone by choosing "Connect" from the BluePad menu and mark "Server" checkbox. On the other phone, mark the checkbox labeled "Client" instead. When you have done this the client phone presents a list of all Bluetooth devices it finds and lets you chose the server phone. After the phones have connected, anything that you draw on either screen will be displayed on both phones. The Yellow/Red icon in the top left corner of the screen indicates the status of the Bluetooth connection.
Before you start the application, make sure that you have Bluetooth switched ON in the control panel.
The Bluetooth Pad demo application was written in J2ME MIDP 2.0 with the JSR-82 Bluetooth API and contains the following parts:
BluePadClient - starts a Bluetooth client connection and attempts to connect to the server on the specified remote device. It handles all client-specific functionality.
BluePad - creates a canvas which is a scratch pad or white board when connected to another phone running this same MIDlet. Anything you draw on one screen will automatically appear on the other screen. The mobile phone must support touch screen and the Bluetooth API.
BluePadServer - starts a Bluetooth server and waits for a client connection to arrive. It handles the server-specific functionality.
BluePad Canvas - extends canvas and implements support for the drawing methods. This MIDlet creates a canvas which is a scratch pad or white board when connected to another phone running this same MIDlet. Anything you draw on one screen will automatically appear on the other screen. The mobile phone must support touch screen and the Bluetooth API.