This example MIDlet shows you how to create a simple application for exchanging business cards over Bluetooth using the OBEX API.
Figure: BCExchanger MIDlet running on a Nokia Asha software platform device
For a tutorial that shows you how to create this MIDlet, see section Example: Creating an OBEX connection.
This MIDlet is compatible with Java Runtime for Nokia Asha software platform (1.0) for Nokia Asha software platform devices and Series 40 5th Edition devices and newer.
This MIDlet has been tested on the following devices:
Nokia 6260 Slide on Nokia Asha software platform (Series 40 6th Edition)
Nokia Asha 306 on Nokia Asha software platform (Java Runtime 2.0.0 for Series 40)
Nokia C3-00 on Nokia Asha software platform (Series 40 6th Edition)
The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:
The MIDlet consists of the following packages and classes (click to view the full source code):
com.nokia.example.bcexchanger
com.nokia.example.bcexchanger.comm
com.nokia.example.bcexchanger.ui