Viewing and Editing Project Properties
Running Projects in the Emulator
Searching the WURFL Device Database
Finding Files in the Multiple User Environment
JSR 82: Bluetooth and OBEX Support
Bluetooth Simulation Environment
Setting Bluetooth and OBEX Preferences
JSR 135: Mobile Media API Support
JSR 177: Smart Card Security (SATSA)
JSR 205: Wireless Messaging API (WMA) Support
JSR 211: Content Handler API (CHAPI)
JSR 226: Scalable 2D Vector Graphics
JSR 238: Mobile Internationalization API (MIA)
JSR 256: Mobile Sensor API Support
This application contains MIDlets that demonstrate the use of JSR 82’s Bluetooth API. It shows how images can be transferred between devices using Bluetooth.
You must run two emulator instances to see this process, and each device must have a different phone number.
For example, use DefaultCldcMsaPhone1 to launch Bluetooth Demo, then choose Server. The emulator asks you if you want to allow a Bluetooth connection. Choose Yes. The server starts and displays a list of images. At the beginning, none of the images are available on the Bluetooth network
Select the images you want to make available.
From the menu choose Publish image (or type or click 1). The icon color changes from purple to green, indicating it is published.
Use DefaultCldcMsaPhone2 to launch Bluetooth Demo, then select Client. The MIDlet tells you it’s ready to search for images. Click the Find soft button. The MIDlet finds the other emulator and get a list of images from it. Select one from the list and choose Load.
If you are running the demonstration in a trusted protection domain, the image is transferred using simulated Bluetooth and is shown on the client emulator.
If you are not running in a trusted protection domain, the first emulator (the server) displays a prompt asking if you want to authorize the connection from the client. Choose Yes. The image is displayed in the client emulator.