26 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
88
views
Android BluetoothAdapter.setName() returns true but ACTION_LOCAL_NAME_CHANGED broadcast never fires - Proposed Solution
I'm working on an Android app that programmatically changes the Bluetooth device name using BluetoothAdapter.setName(). The app needs to know when the name change completes to trigger subsequent ...
0
votes
2
answers
934
views
Android with Kotlin, can't get the BluetoothAdapter
I follow the instructions in https://developer.android.com/develop/connectivity/bluetooth/setup , trying to setup Bluetooth. When I am trying to get the BluetoothAdapter,
val bluetoothManager: ...
1
vote
1
answer
449
views
Bluetooth discovery issue in Android versions above 12
I am programming a very simple test Android application that makes a discovery of bluetooth devices and displays them on screen. This application works correctly on Android 9, but does not work ...
1
vote
0
answers
114
views
What are the differences between the 4 ways to connect a Bluetooth device in Android after scanning?
I found 4 different ways to connect the Bluetooth device in Android after the scanning:
createBond -> mBluetoothAdapter.getProfileProxy(this, new InputDeviceServiceListener(),BluetoothProfile....
0
votes
0
answers
142
views
How to switch between the Available/Paired bluetooth device in Android Studio
We all know how to show the paired device list but my question is how we can switch to our preferable bluetooth headset from the list. I only want this option for mobile to headset. Can anybody kindly ...
0
votes
1
answer
1k
views
Does the bluetooth address of Android device changes after some time?
I am asking this question because I want to create an application which stores the data of the user according to the Bluetooth address of their phones. We can share his profile according to that ...
0
votes
0
answers
315
views
getUUIDS returns null when device isn't paired
For some strange reason i can't get the uuids of a device i'm getting after a discovery.
But if I paire both device before the discovery, then the method getUUIDS doesn't return null.
Am I Missing ...
0
votes
1
answer
3k
views
BluetoothAdapter.getDefaultAdapter() has been deprecated - Flutter
I'm having tough time understanding a small thing.
Upon running my code, I'm getting following error
C:\Users\faiza\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\permission_handler-6.1.3\android\src\...
2
votes
1
answer
304
views
BluetoothAdapter StartDiscovery does not work in Foreground Service
My application starts a service that detects phone shaking. When the service detects a shake, it searches for a BT device within range and if a suitable device is found, it connects to it and sends ...
0
votes
1
answer
2k
views
Perform a bluetooth scan with BluetoothAdapter in Xamarin.android
I am implementing an APP with Xamarin.
I want to perform a Bluetooth scan. And get the device found.
Here is my code.
How could I implement this to start a scan and collect the result once"...
4
votes
0
answers
5k
views
BluetoothAdapter.getName() returns "QCOM-BTD" instead of its set bluetooth name
My Unity app was required to get Bluetooth names to distinguish different phones in the same local network. Here is the code that I used to get Bluetooth name:
AndroidJavaClass blueToothAdapter = new ...
1
vote
0
answers
415
views
Lag when using Bluetooth Adapter in Android Studio
My project:
Controlling 3 stepper motors with bluetooth.
I'm using Android Studio for the app and Arduino to receive the bluetooth data and control the Steppers.
My Problem
When my Arduino receives ...
0
votes
1
answer
498
views
STATE_CONNECTED doesn't mean it's really CONNECTED?
If we have a look at this, it says :
Android only supports one connected Bluetooth Headset at a
time.
Also the explanation of getConnectedDevices() :
Return the set of devices which are in state ...
-2
votes
1
answer
3k
views
I am getting this error on selenium python
This error has no relates to my web scraping bot at all. my code does not cause this error. it is just there, and I would like to get rid of it. any ideas?
Bluetooth: bluetooth_adapter_winrt.cc:1074 ...
2
votes
0
answers
63
views
AndroidStudio : List Paired Devices
I'm currently making an app in Android Studio that should communicate with the HC06 Bluetooth Module.
I've started with a code I found online here :
http://android-er.blogspot.com/2015/10/android-...