Questions tagged [android-bluetooth]
The Android bluetooth subsystem. May also refer to using bluetooth hardware in Android.
android-bluetooth
2,168
questions
1
vote
1
answer
37
views
Android BLE establishing connection
I am developing an Android BLE application for connecting with a BLE peripheral device. The BLE peripheral device has strong energy constraints and therefore the connection interval should be kept ...
0
votes
1
answer
58
views
Unresolved reference: Why isn't this variable being detected?
In the code below, "takePermission" and "bluetoothAdapter" aren't being recognized. I've been following along to this tutorial which seems slightly outdated, but his variables are ...
0
votes
1
answer
20
views
Capacitor error with @capacitor-community/bluetooth-le
I'm developing print feature for my app using these tech stacks:
"@angular/core": "~13.2.0",
"@capacitor-community/bluetooth-le": "^3.1.4",
"@capacitor/...
0
votes
0
answers
11
views
Using Android's MediaRecorder with a Bluetooth Microphone
Problem
I am unable to get Android's MediaRecorder to record audio from a connected Bluetooth microphone. Instead audio recordings use the device's inbuilt microphone
Question
Has anyone found a ...
0
votes
0
answers
19
views
I want make Bluetooth calling feature in Android App
If Phone A Having App A get a phone call it should be shown in Phone B having App B. Considering Both Phones are paired. How do I achieve this. I tried something. Is there any open source project for ...
0
votes
1
answer
38
views
How can I speed up my Android Bluetooth reception?
Hardware
The Bluetooth device is powered by a chip called atmega32 and uses a bm78 Bluetooth chip.
The clock frequency of the MCU chip is 14.7456 MHz.
The baud rate of Bluetooth device is 115200.
The ...
0
votes
1
answer
61
views
How to open bluetooth settings on Google Pixel with Android 14?
I want to open the bluetooth settings by sending an Intent with action Settings.ACTION_BLUETOOTH_SETTINGS on Google Pixel devices with Android 14.
It works e.g. on Samsung devices. However, on Google ...
-1
votes
0
answers
18
views
Open SCO connection using IOBluetooth in macOS
I'm working on getting call audio from Android to macOS but facing issues with opening the SCO connection. I've successfully connected to Android and set up the RFCOMM channel for the Handsfree ...
0
votes
1
answer
24
views
NoSuchMethodException: BluetoothAdapter on release builds
My application is crashing out with the error Caused by: java.lang.NoSuchMethodException: f4.b.<init> [class android.bluetooth.BluetoothAdapter] when I run it in release mode. The app works fine ...
0
votes
0
answers
19
views
Why does my bluetooth low energy scanner doesn't return scan results if my ScanSettings.Builder().setReportDelay(0) is not 0?
I have built an bluetooth low energy scanner and it works. I have built different startScan functions to text the differences in real time of the different parameters you can choose from and, with all ...
0
votes
0
answers
48
views
Getting 201: ERROR_GATT_WRITE_REQUEST_BUSY, when I tried to write to the same characteristic for the second time In flutter
I am working on a flutter application which communicates with the BLE devices, for BLE connection i am using the flutter_blue_plus: ^1.32.7 library.
I am able to List the Bluetooth devices and connect ...
2
votes
1
answer
30
views
why BleDevice disconnects automatically with android?
Some times when i connect to the ble device, it automatically disconnects after connecting.
I tried to disconnect it before connecting. It shows me connection success and in between shows message of ...
0
votes
1
answer
61
views
Bluetooth Adapter Enable or Disable Not Working
I was writing some code to turn on or off bluetooth adapter. But the problem is that I am using android 14 and it is not working. It calls the method but bluetooth still dooes't turns off if enabled ...
0
votes
0
answers
33
views
Android bluetooth read/write crashes when job cancelled
I am writing an Android App that connects to an OBD2 bluetooth device and reads ECU data from a vehicle. I create a bluetooth socket and open an input and output stream on the socket. I call a ...
0
votes
0
answers
25
views
How to send long strings by bluetooth HC05 module
I am building a bluetooth terminal app (Android) and want to send strings from my app to microcontroller via HC05 bluetooth module, I can share small strings near about 120 characters but while ...