Bluetooth and OBEX
The J2ME Wireless Toolkit emulator supports JSR 82, the Java APIs for Bluetooth, which includes two independent APIs:
* The Bluetooth API provides an interface to Bluetooth wireless networking, including device discovery and data exchange.
* The OBEX API allows applications to use the Object Exchange (OBEX) protocol over Bluetooth or other communication channels.
The toolkit allows you to develop and test applications that use Bluetooth technology even if you don't have any actual Bluetooth hardware. The toolkit simulates a Bluetooth environment, in which you can run multiple emulator instances that can discover each other and exchange data using the Bluetooth API.
An example application, BluetoothDemo, shows how to transfer images from one emulator to another.