![](/images/new-backgrounds/1314580/314580187x1.webp)
FIGURE 41 Opening a demonstration application project
Select one and click on the Open Project button in the dialog.
Once the application is opened, all you need to do is press the Run button. The device emulator will pop up running the example application. Choose a specific demonstration to run from the menu and press the soft button for Launch.
Some demonstrations require other setup and instructions. Check the full list to see if there are specific instructions for a demonstration.
A.3 BluetoothDemo
This application contains a MIDlet that demonstrate the use of JSR 82’s Bluetooth API.
Bluetooth Demo shows how images can be transferred between devices using Bluetooth. You will need to run two instances of the emulator to see how this demonstration works.
In the first emulator, choose Bluetooth Demo, then Server. The emulator will ask you if you want to allow a Bluetooth connection. Choose Yes. The server starts up and displays a list of images. At the beginning, none of the images are being made available on the Bluetooth network. To make images available, select them and choose Publish image from the menu. Images with a green icon are published, while those with a purple icon are not.
82 J2ME Wireless Toolkit User’s Guide • October 2004