Questions tagged [android-bluetooth]
The Android bluetooth subsystem. May also refer to using bluetooth hardware in Android.
android-bluetooth
2,166
questions
0
votes
0
answers
20
views
Android Kotlin ScanFilter Builder class not functioning
As stated above, I'm trying to use ScanFilter.Builder() to construct a filter for my bluetooth application, and it gives an unresolved reference error.
I have ScanFilter properly imported, and the ...
0
votes
1
answer
47
views
How to use BLE specification XML service files?
The link BLE device information XML is a BLE service XML file copied from the original GATT specification files. Can I and how can I use this XML file for my project on Android Studio in Java? I am ...
0
votes
1
answer
55
views
How to read Bluetooth Low Energy GAP characteristic values as a string?
Hello I am new to developing an app and even newer to the concept of BLE. I am developing an application on android using Java that is capable of scanning BLE devices nearby. The main purpose is to ...
1
vote
1
answer
44
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
61
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
42
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
1
answer
21
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
20
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
39
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
75
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 ...
0
votes
1
answer
25
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
64
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
33
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
77
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 ...