This example MIDlet shows you how to create a simple application for exchanging business cards over Bluetooth using the OBEX API.
Figure: BCExchanger MIDlet
For a tutorial that shows you how to create this MIDlet, see section Example: Creating an OBEX connection.
This MIDlet is compatible with Series 40 5th Edition and S60 3rd Edition devices and newer.
This MIDlet has been tested on the following devices:
Nokia 6260 Slide (Series 40 6th Edition)
Nokia Asha 306 (Java Runtime 2.0.0 for Series 40)
Nokia C3-00 (Series 40 6th Edition)
Nokia C7-00 (Symbian Anna with Java Runtime 2.2 for Symbian)
Nokia C7-00 (Symbian Belle with Java Runtime 2.3 for Symbian)
Nokia E52 (S60 3rd Edition FP2)
Nokia E61i (S60 3rd Edition)
Nokia N79 (S60 3rd Edition FP2)
Nokia N95 (S60 3rd Edition FP1)
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