Android Bluetooth Development (a): Introduction

Source: Internet
Author: User

1, Bluetooth is a short-distance, low-bandwidth point-to-point communication protocol.

Bluetooth is one of the most widely used wireless communication protocols, mainly for short-distance communication, the advantage is low power consumption, transmission speed is relatively fast. But the disadvantage is also obvious, is the transmission distance is relatively short.

Bluetooth is almost every mobile phone standard features, more for the headset mic and other devices and mobile phone connection, in addition, you can also establish Bluetooth communication between multiple phones.

2. Bluetooth API can search and connect to other devices within a certain range.

The Android application framework provides APIs to access Bluetooth functionality. These APIs allow applications to wirelessly connect to other Bluetooth devices for point-to-point or point-to-multipoint wireless interaction.

With Bluetooth APIs, an Android app can do the following:

    • Scan other Bluetooth devices;
    • Query the local Bluetooth adapter (locally Bluetooth adapter) for pairing Bluetooth devices;
    • Establish Rfcomm channel (channels);
    • Connecting other devices through service discovery (discovery);
    • Data communication
    • Managing Multiple connections

3. Bluetooth socket initiates communication to transfer and transfer traffic between devices.

Android includes support for the Bluetooth network protocol stack, which allows Bluetooth devices to wirelessly connect to other Bluetooth devices to exchange data.

Android Bluetooth Development (a): Introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.