20. Bluetooth and OBEX

BLUETOOTH is short-range wireless technology, good for connecting mobile phones, headsets, keyboards, mice, computers, and other devices together. Many modern mobile phones have Bluetooth hardware, as you have probably noticed by the proliferation of people walking around with those mondo tomorrow Bluetooth headsets tucked in their ears.

JSR 82 defines the Bluetooth API and the OBEX API. The Bluetooth API lives in javax.bluetooth, while the OBEX API is in javax.obex.

OBEX stands for OBject EXchange. It is a standard for moving data between two endpoints. It is independent of the underlying network transport, so it can run on top of a Bluetooth connection or an infrared data connection.

The Bluetooth and OBEX APIs defined ...

Get Kicking Butt with MIDP and MSA: Creating Great Mobile Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.