JABWT Code Samples

This section presents code samples for different functionality in Bluetooth MIDlets. The samples are not complete MIDlets, they show only Bluetooth specific code. This was done to increase the readability of the code and keep the complexity of the code as low as possible. Hopefully, the code is easy to understand.

Samples are provided for device discovery (inquiry), service search and RFCOMM (serial port emulation) links. In addition, the section gives solutions to some of the problems I ran into during development and testing of my two sample applications, the Bluetooth browser and Bluetooth benchmark MIDlets.



This page was last updated 14. Jul. 2006

Comments and feedback are highly appreciated.

You can reach me at: klings (at) nowires (dot) org

Most pages on this site, in particular the How-To's, are available primarily for archival purposes.

Klings.NoWires.Code()

Home

J2ME CDC CLDC MIDP 1.0 MIDP 2.0 MIDlets JABWT

Bluetooth

BTBrowser BTBenchmark KlingsLib

Code Structure Inquiry Service
search
RFCOMM Pitfalls Service record usage Service record manipulation

Devices Developers

Tools Rococo IDEs WTK NDS Antenna

How-To Bluez OBEX Eclipse NetBeans JBuilder WAP

About me