Questions tagged [android-bluetooth]

The Android bluetooth subsystem. May also refer to using bluetooth hardware in Android.

The Android bluetooth subsystem. May also refer to using bluetooth hardware in Android.

See the official Android Bluetooth guide for an introduction and API docs.

2111 questions
0
votes
1 answer

Disable button until bluetooth connected

I have an android app that automatically turns on device Bluetooth and connects to a paired device. The device sends data which is updated constantly. If the user presses an enable device button, which is used to initialize the device and begin the…
ROlson
  • 3
  • 2
0
votes
0 answers

How to send a variables of the calendar class via Bluetooth

A variables of the calendar class isn't String. I want to know how to pass time variable values ​​to the board using Via Bluetooth. pickerTime is a TimePicker in actitvity_main.xml , buttonSetAlarm is a button to set alarm This is the source: …
lilylyn
  • 1
  • 4
0
votes
0 answers

How can I develop a live-streaming app with overlay

I have build an analog device that has a Bluetooth module (HC 05) and I want to develop a android app that can interact this device and at the same time live stream the video with an overlay. The overlay is using input received from device. I only…
0
votes
1 answer

AOSP Pie bluetooth HCI not hanging: hci_initialize error

I have a test board for amlogic S905X chip. (p212 reference board) When I burn my ROM into it, the bluetooth constantly shows "stopping" dialog. The logfile (tombstone) is quite long but the important part is here: 01-01 00:24:15.708 28953 28986 I…
Saleh
  • 1,819
  • 1
  • 17
  • 44
0
votes
1 answer

setNotifyValue on Two BLE Characteristics

I can't seem to setNotifyValue for more than one characteristic in the same BLE service. The app always crashes when the second setNotifyValue is called. If I comment setNotifyValue out on either one of the characteristics and recompile, the app…
0
votes
0 answers

How can I send data through an Android BluetoothSocket with pyjnius?

I'm trying to send data through a BluetoothSocket between two Android tablets. I've created one using 'createRfcommSocketToServiceRecord', and on both devices 'isConnected()' returns True and 'getRemoteDevice().getName()' returns with the other…
0
votes
2 answers

How to handle writing to an OutputStream of BluetoothSocket in Android?

The Android developer docs say that the read(byte[]) and write(byte[]) functions both are blocking calls so they should not be called directly from the main thread. I understand that read() only returns when there is something to be read from the…
0
votes
1 answer

Can I find out what type of mobile phone is connected via Bluetooth to a Linux PC?

Is it an Android phone or IOs? Of course on the PC side. I want to implement different behavior of my code depending on the OS on the connected phone. Thanks!
0
votes
0 answers

How to scan non-BLE (a.k.a. standard) Bluetooth devices in React Native?

I have used react-native-ble-manager but I couldn't find my device because it is not BLE! How can I scan and search for standard Bluetooth devices in React Native?
0
votes
0 answers

Get data from a bluetooth laser meter

I am not sure if it is a suitable question for this website. I want to make an app on android that receives data from a bluetooth laser meter. The "problem" I find is that the laser meters I find send all the data to their own predefined…
Sergio76
  • 3,835
  • 16
  • 61
  • 88
0
votes
1 answer

Bluetooth connectivity for android devices in unity

I want to build a simple Bluetooth API to be integrated in unity app so that users can connect to other users within the app and then send and receive data via bluetooth. I did some searching and some of the solutions said to first build a .jar…
Divyaswor
  • 1
  • 3
0
votes
1 answer

Bluetooth SPP mysterious bufferoverflow, Android / BlueGiga WT12, potential flow control issue?

The situation: I'm developing an android app for some hardware that has a BlueGiga WT12 bluetooth modem. The hardware device sends 56 byte packets at around 240hz. I'm testing on a Samsung S5 and S8. A fully functional app has already been created…
Jameson
  • 190
  • 1
  • 11
0
votes
0 answers

Unstable connection from Honor 8x to microchip rn4020 Bluetooth

Here is programm to connect to rn4020 bluetooth module. My code is fine work at Honor 9 device its fast connection and stable. But its very long time to connect from Honor 8x and sometimes its connect only the third-fifth time. I can upload all…
0
votes
1 answer

On pairing or connecting a Bluetooth Scanner(Inateck) and a mobile device the activity gets destroyed

I am setting up a Bluetooth Scanner Android Application, where I am trying to connect with a Bluetooth scanner (Inateck) and a mobile device using android code. My Requirements: Pair both the devices through my Application. Connect with the…
0
votes
1 answer

Android ble: Unable to send large data

I'm trying to implement an app for transfer some strings between ble devices (for now one device act as central and the other one as pheripheral) but without success. This is how my peripheral (server) is set up. Characteristic build fun…
1 2 3
99
100