![]() ![]() In this article I'll present some background about Bluetooth, give you an overview of the typical elements of a Bluetooth-enabled MIDlet application, and introduce you to the core Java Bluetooth APIs. To support development of Bluetooth-enabled software on the Java platform, the Java Community Process (JCP) has defined JSR 82, the Java APIs for Bluetooth Wireless Technology (JABWT). Each PAN is a dynamically created network built around an individual, that enables devices such as cellular phones and personal digital assistants (PDAs) to connect automatically and share data immediately. Google maintains a list of devices that conform to the JSR-82 specification.Bluetooth is a low-cost, short-range wireless technology that has become popular among those who want to create personal area networks (PANs). Hundreds of mobile devices from different manufacturers comply with the JSR-82 specification. Applications using the APIs can pass parameters to the Connector.open() method indicating the level of security required to establish a connection to another device. JABWT supports connections with different levels of security. ![]() JABWT applications are able to access information about the host device (such as Bluetooth address), mark their host device as discoverable to other Bluetooth devices, and register to provide services. JABWT allows management of the local device’s state. ![]() For example, two devices conforming to the OBEX protocol could exchange virtual business cards or calendar appointments. JABWT provides an object exchange API for transfer of data objects between devices. ![]() Java applications can use the API to scan for discoverable devices, identify services provided by discovered devices, and search for devices that the device frequently contacts. JABWT provides support for discovery of nearby Bluetooth devices. The specification, reference implementation, and Technology Compatibility Kit (TCK) are maintained at Motorola Open Source. The most recent update to JSR-82, Maintenance Draft Review 4, was released in March 2010. The first version of JSR-82 was released in March 2002. JSR-82 provided the first standardized Java API for Bluetooth protocols, allowing developers to write applications using Bluetooth that work on all devices conforming to the specification. The original Java Specification Request (JSR-82) was submitted by Motorola and Sun Microsystems, and approved by the Executive Committee for J2ME in September 2000. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |