Use mobile phone as bluetooth headset

Can an Android phone be used as a Bluetooth headset/speakers?

Is there a way to make an Android phone (HTC Desire HD) act as Bluetooth speakers or headset? I’d like to use the phone as wireless headphones whilst watching a movie on a computer (running Ubuntu).

It looks like there are several apps that can do wireless speaker (over Wi-Fi though, not seeing any that do bluetooth), but none so far that do wireless headset. This Wi-Fi speaker app advertises Linux support: play.google.com/store/apps/…

3 Answers 3

As of Feb 2011, the Bluetooth API only supports pairing with the Android device as the master.

Comment by Dennis Mathews to the linked answer — Anyway being a master or slave has nothing to do with what it can or cannot do, the roles in bluetooth are symmetrical — it is the supported profiles that determines what it can or cannot do

Partially solved, because newer APIs can perform it in the future, or specific APIs or some kind of hack can perform it.

Here’s a XDA article by Mishaal Rahman that basically says:

Even without A2DP profile on Android (which is not implemented even in Android 8 yet), you can do a low-quality Bluetooth streaming via Hands-free Profile (HFP) to Android from another Android phone (sorry iPhone owners!)

Install Tasker and a AutoVoice plugin on the source phone, and create the following Tasker profile:

Profile: Reroute Audio (192) State: BT Connected [ Name:BMW 15384 Address:* ] Enter: Anon (199) A1: AutoVoice Ctrl BT [ Configuration:Enabling Headset Sound Timeout (Seconds):0 ] Exit: Anon (204) A1: AutoVoice Ctrl BT [ Configuration:Disabling Headset Sound Timeout (Seconds):0 ] 

Warning: I have not tested this myself.

Warning: quotation about HFP audio quality:

Note: because the Hands-Free Profile is not meant to send high-fidelity audio streams, the audio quality of your music will suffer. This is just the nature of the Hands-Free Profile and there’s nothing you can do about it without either upgrading your stereo’s Bluetooth to bring A2DP support or to stream through another peripheral.

Источник

Transforming Your Android Phone into a Bluetooth Headset: A Guide

An alternative approach, as not every phone supports using an Android device as an , is to construct these two applications through your wifi network. To accomplish this, you must incorporate the HFP profile into your Android device, with the phone role typically being AG (Audio Gateway) and the headset role being HF (Hands-Free). Think of it as a server-client relationship.

I am aware that Android has included the bluetooth headset Profile, however, it functions as an Audio Gateway Role rather than a Headset Role.

My plan is to create a Android phone app that functions as a bluetooth headset. This way, I can link it with my laptop via bluetooth and use my phone to call someone. The app will transmit the sound through bluetooth to my laptop, which will then forward the data to a separate program such as Skype, GTalk or another VoIP program.

Could you please suggest a way to enable the Headset Profile on an Android phone in the Headset Role? Your help would be greatly appreciated.

Читайте также:  Bluetooth skoda rapid 2020 активация

Regarding the Android aspect, I believe the optimal approach would be to initiate a connection to the service on your computer.

URL url = new URL("http://192.186.0.1/path/to/service"); URLConnection connection = url.openConnection(); 

Get it as an OutputStream:

OutputStream out = new BufferedStream(connection.getOutputStream()); 

After recording the data, transmit it by utilizing the AudioRecord function.

public static final int DEFAULT_SAMPLE_RATE = 8000; private static final int DEFAULT_BUFFER_SIZE = 4096; private static final int CALLBACK_PERIOD = 4000; AudioRecord recorder = new AudioRecord(MediaRecorder.AudioSource.DEFAULT, DEFAULT_SAMPLE_RATE, AudioFormat.CHANNEL_CONFIGURATION_DEFAULT, AudioFormat.ENCODING_DEFAULT, DEFAULT_BUFFER_SIZE); recorder.setPositionNotificationPeriod(CALLBACK_PERIOD); int bytesRead = 0; ByteBuffer buffer = ByteBuffer.allocateDirect(DEFAULT_BUFFER_SIZE); while ((bytesRead = recorder.read(buffer, DEFAULT_BUFFER_SIZE)) > 0)

To prevent the app from crashing, it is essential to perform all the above tasks on a separate thread. Additionally, a system must be in place to manage situations where the recording ends or if the connection is lost. Although Bluetooth-enabled devices now come with Wi-Fi, it is uncertain if they will operate in the same manner. It is, however, probable that the application will function correctly over Wi-Fi since it provides a higher bandwidth.

I cannot guarantee that this code will function properly as I haven’t tried it yet.

The upcoming task involves transferring the audio to the desired application via the machine, which is beyond my expertise. It seems like a virtual driver or a similar mechanism will be needed. Additionally, the opposite mechanism will have to be implemented to send audio from the desktop app to the phone. I am particularly intrigued by this aspect, as it could create a convenient wireless headset for enjoying movies.

I’d like to share my opinion and see if it proves effective. 😉

It’s unclear if I fully grasped the question or objective at hand, but I previously shared a guide on this forum regarding the process of sending and receiving audio through Bluetooth on an Android device using a headset.

How to make Android phone as a bluetooth headset?, Yes, I know Android has already implemented the Bluetooth Headset Profile, but it is in Audio Gateway Role, not in HeadSet Role. What I want to do is develop an application on Android phone which will act as a bluetooth headset, so it can connect to my laptop by bluetooth.

Use your PC as your mobile phone’s speakers/headset

How to use «play via bluetooth » function on your phone using your PC/laptop.orUse your PC/laptop as your phone ‘s speakers /headsetThis one is useful if you’re

How to connect 2 bluetooth speakers with Samsung

How to connect 2 bluetooth speakers with Samsung Galaxy phone that has Android 10 using dual audio mode. If your phone …

I am trying to make my Android device function as a Bluetooth headset, but I am having trouble finding the appropriate Android APIs. I have only found interfaces that allow Android devices to function as masters, not as devices like a Bluetooth headset. I am willing to modify the Android OS source code and rebuild the OS. My goal is for the Android device to function as a Bluetooth headset when connected to a mobile phone via Bluetooth. I am unsure if there are interfaces that can accomplish this or if I need to modify the Android OS itself. Thank you for your assistance.

Читайте также:  Точка доступа айфон через блютуз

To enable the HFP profile on your Android device, assign the phone role as AG (Audio Gateway) and the headset role as HF (Hands-Free), similar to a server-client relationship. Establish a connection with the phone via RFCOMM channel using the HF-defined UUID and update the SDP record. Modifications must be made to handle AT Commands. After completing these initial changes, you must then manage the transmission of audio packets (SCO packets) for voice calls.

How to use Android device as a bluetooth headset for, 1 Answer. Sorted by: 1. You need to implement HFP profile in your android device, normally phone role is AG (Audio gateway) and headset roles is HF (Hands free) , think its as a server and client role. Connect RFCOMM channel to phone using UUID defined for HF , have SDP record updated,changes will be …

I possess two Android Phones devices and intend to link them through Bluetooth, with one of them serving as a Bluetooth headset.

I am wondering how to set the second phone to switch its role profile to «Bluetooth Headset» upon connecting.

Although I came across this post, my inquiry varies slightly.

Thank for any advice or idea 🙂

The built-in Bluetooth profile on Android does not allow A2DP functionality.

Your phone functions solely as a transmitter, lacking the ability to receive signals as a receiver.

Kindly take a look at my two responses explaining why this is unattainable.

Instead of creating one app that serves as both the client and server, an alternative approach is to build two separate apps with a client/server setup using a custom protocol. For example, the server app could utilize Bluetooth to stream audio content to the client app.

Given that utilizing an Android device as an A2DP sink may not be practical for all devices, an alternative solution would be to construct both applications using your wifi connection. This approach could result in faster processing and superior sound quality.

How to make an Android phone as bluetooth headset, 1 Answer. You cannot on Android. At least using the built-in Bluetooth A2DP profile. Your phone will only act as a transmitter (source), not a receiver (sink). Please look at these two answers I gave on why this is not possible : Is it possible to send/receive voice from PC to Android device over Bluetooth. …

Is there a way to utilize an android phone as a Bluetooth headset and employ it as a microphone during activities such as playing various games (COD?

My phone is a Galaxy Vibrant running on Ice Cream Sandwich. Instead of purchasing a Bluetooth headset, I am seeking to use my phone as a bridge by connecting my wired headphones that come with a built-in microphone.

An application that transforms an Android device into a versatile Bluetooth device has made it feasible to operate a PS3 using the Android phone as a Bluetooth remote control . This link enables the phone to function as a virtual keypad to input text and includes a trackpad on the touchscreen for navigating the PS3’s web browser.

Currently in beta form, the app BlueputDroid can be a bit challenging to use. The list of Android phones it supports is not comprehensive, and some phones need custom firmware. Additionally, getting the app installed requires overcoming technical obstacles. To find a list of both supported and unsupported phones, visit XDA-developers.com, which originally introduced the app. There, you can also find instructions on downloading the app if you have an Android handset that is compatible with it.

Читайте также:  Lenovo g580 20157 драйвера блютуз

The Nexus One and HTC Wildfire with rooted firmware were successfully tested by the independent developer. However, the LG Optimus One did not work despite several attempts.

The initial app to enable smartphones to connect with the PS3 as an input device is BlueputDroid. While there are multiple Bluetooth apps for Android that provide more flexibility in syncing with a computer, this is the first functional app for PS3 connectivity. If the developer can improve the process and increase compatibility, using phones for inputting PSN information or typing URLs would be preferable to having a physical keyboard connected to your system.

Visit the website gamesradar.com to learn how you can use your Android phone as an MSDTHOT.

BlueputDroid is only compatible with rooted devices, as stated in EHSAN’s article titled «How to remotely control your PS3 with Android BlueputDroid Apps Guide» published on Feb. 27th, 2011. This means that if you wish to use this app, you will need to root your device.

A guide on using Blueputdroid apps to control your PS3 remotely with an Android device is available on topbestfreeapps.com.

Upon examination of the list of supported devices, it has been determined that your device is not included.

The following devices are compatible with our software: — Samsung Moment — Spica from Samsung — Any variant of the Samsung Galaxy S series, including Captivate, Vibrant, Epic 4G, Fascinate, Showcase, Mesmerize, Continuum, K, and U. However, the Nexus S is excluded since it doesn’t have Samsung’s software. — Samsung Galaxy Tab — HTC Eris — HTC Incredible — HTC/HD — HTC Desire Z — HTC Legend — HTC Hero — HTC Magic — HTC Evo 4G — HTC Aria — HTC/T-Mobile myTouch 4G

This article was published almost two years ago in early 2011, hence it might be currently backed.

The article offers some theoretical understanding of your desired outcome.

The article I referred to in the comments earlier appears to be better suited to your requirements.

Yes, you can use it as a headset.

Create an app with identical settings to those of the headset.

I made one for my LG P690F.

It’s impossible to pair any device with a PS3 unless it’s recognized or signed by Sony.

It’s not possible to utilize just any Bluetooth headset for PS3. Only particular headsets are designed for this purpose.

Can I use an old phone as a bluetooth headset and dialer?, I think I should be able to recycle an old Android Phone for this purpose. I figured there is some kind of Bluetooth stack (Bluez?) that just needs to be configured the right way. The hardware should be all there. The best I could find thus far was this question and the links therein. I saw some dedicated devices …

Источник

Оцените статью
Adblock
detector