Questions tagged [bluetoothadapter]

The BluetoothAdapter lets you perform fundamental Bluetooth tasks, such as initiate device discovery, query a list of paired devices, etc.

25 questions
0
votes
1 answer

Bluetooth Scanrecord same values are null

I tried to read beacon scanresult, some values came but result.getScanRecord().getServiceUuids() always null. And also i dont understand that how can i parse "result.getScanRecord().getBytes()". i saw many example but it is not understandable or so…
adembilgen
  • 1
  • 1
  • 3
0
votes
1 answer

How can I solve this NullPointer error in my Android app?

I've made a screen in android studio that manages some aspects of bluetooth like searching for devices, on and off and so on. The problem appeared when I ran the app, I get a NullPointer error when changing the bluetooth images from on to off and…
0
votes
1 answer

How to connect two android devices using a2dp and avrcp bluetooth profiles?

I am trying to implement a2dp and avrcp between two android devices, i couldn't find any proper references for this. some I have found but are not so much helpful. if (mBluetoothAdapter == null && !mBluetoothAdapter.isEnabled()) { …
Hari
  • 27
  • 10
0
votes
1 answer

My java code could not search for nearby Bluetooth Devices

I have written a code to list nearby Bluetooth Devices but my code is unable to detect any. According to my code, the action just starts and end and not print any device in logs when I do String action = intent.getAction(); Log.i("Action",action); …
TanikshG
  • 1
  • 2
0
votes
1 answer

java.lang.NoSuchMethodError: android.bluetoothAdapter.getBluetoothLeAdvertiser at org.altbeacon.beacon

Getting error on Asus, Samsung tablets having OS version 4.4.2 Android Beacon Library version. Getting below Issue. I tried updating the library, handling the crash but still able to see below error:- java.lang.NoSuchMethodError: …
0
votes
1 answer

registerReceiver BluetoothAdapter.ACTION_STATE_CHANGED not working

I'm working with Android Oreo and bluetooth. I want to get from a broadcast info when a new device is found and when Bluetoothadapter has changed its state. I have the following code: IntentFilter filter = new…
0
votes
1 answer

Trying to get BluetoothAdapter; Cannot resolve method 'GetSystemService(java.lang.String)'

I am following along with the BluetoothLE docs at Android Studio: https://developer.android.com/guide/topics/connectivity/bluetooth-le#setup My goal is to set up Bluetooth to be able to work with my java app. Why am I getting the 'Cannot resolve…
user4892981
0
votes
3 answers

Fragment: The application may be doing too much work on its main thread

I am using 3th fragment in my app. When i come to 3.fragment i want to send message other devices with bluetooth. But my log said : The application may be doing too much work on its main thread. And than my AcceptedThread lock. So my ConnectedThread…
CKocar
  • 566
  • 9
  • 25
0
votes
1 answer

Android - Multiple BluetoothBleScanner

I have a Cordova application for iOS/Android. The Javascript for the application is served by a webserver which ofcourse makes updating of the App very easy - no AppStore releases unless it is a change to a Cordova plugin. Now, the application…
steve
  • 3,230
  • 1
  • 19
  • 14
-2
votes
1 answer

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 Getting Default Adapter failed.
1
2