Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6679943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:25:02+00:00 2026-05-26T04:25:02+00:00

I have spent some time researching Android’s ability to communicate with bluetooth devices that

  • 0

I have spent some time researching Android’s ability to communicate with bluetooth devices that are designed to communicate over a Bluetooth COM port on a PC. I haven’t been able to find a definitive answer, so I thought I’d ask here. I want to make sure that this is possible with Android.

I am new to Bluetooth communications, but the research I’ve done so far lead me to RFCOMM which somewhat sounded like what I wanted. Unfortunately, I’m still unable to confirm that this is in fact possible.

Any help/resources on this would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:25:03+00:00Added an answer on May 26, 2026 at 4:25 am

    Yes, Android can connect to Bluetooth COM ports on PC’s. I am currently developing such an application. Here is a code example (Ite requires the bluetooth permissions te be set in the Manifest.xml file):

    <uses-permission android:name="android.permission.BLUETOOTH" />
    

    Java:

    BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
    if (adapter == null) {
        // Device does not support Bluetooth
        finish(); //exit
    }
    
    if (!adapter.isEnabled()) {
    //make sure the device's bluetooth is enabled
        Intent enableBluetooth = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
        startActivityForResult(enableBluetooth, REQUEST_ENABLE_BT);
    }
    
    final UUID SERIAL_UUID = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB"); //UUID for serial connection
    mac = "00:15:83:3D:0A:57"; //my laptop's mac adress
    device = adapter.getRemoteDevice(mac); //get remote device by mac, we assume these two devices are already paired
    
    
     // Get a BluetoothSocket to connect with the given BluetoothDevice
    BluetoothSocket socket = null;
    OutputStream out = null;
    try {
        socket = device.createRfcommSocketToServiceRecord(SERIAL_UUID); 
    } catch (IOException e) {}
    
    try {           
        socket.connect(); 
        out = socket.getOutputStream();
        //now you can use out to send output via out.write
    } catch (IOException e) {}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've spent some time researching how to communicate with SAP from a PHP web
I've spent some time, but still have to solution. I need regular expression that
I have spent some time learning what are Java Native methods and that they
I have spent some time now to solve a problem for which i have
I have asked this question before - but I have spent some time thinking
This has probably been answered before, but I have spent some time looking and
I have spent quite some time making a function and the last 15-20 minutes
I have spent some time trying to create a child window of an existing
Having spent some time working on data warehousing, I have created both ETL (extract
I've spent some time researching this and simply can't find a definitive answer. Here

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.