Skip to main content
The 2024 Developer Survey results are live! See the results

All 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 ...
Incog's user avatar
  • 3
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 ...
Ahmad Daniel's user avatar
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 ...
Ahmad Daniel's user avatar
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 ...
Titouan Gaborit's user avatar
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 ...
Incog's user avatar
  • 3
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 ...
AVINASH SHARMA's user avatar
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 ...
HanGoil's user avatar
  • 33
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 ...
Stefan's user avatar
  • 1
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 ...
dnj's user avatar
  • 109
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 ...
avinash Yadav's user avatar
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 ...
Bhavika khatri's user avatar
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 ...
ANUJ's user avatar
  • 1
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 ...
Rob Taylerson's user avatar
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 ...
Anshul Lanjewar's user avatar
0 votes
1 answer
46 views

Finding BLE Services

I'm trying to connect a smartphone running Android 13 to a server using BLE. Android 11 connects and finds services, but Android 13 can't find them. I have tried everything with permissions I'd like ...
Jose Bravo's user avatar

15 30 50 per page
1
2 3 4 5
122