My apps are based off of the original SPP style bluetooth chat, where it reaches out and scans for bluetooth devices and connects.
I never had a problem before, until now.
When I connect via a Mac address already saved in my app, it works fine as usual.
but when I go to discover/scan for bluetooth devices, it immediately kicks out "Error starting discovery process" Which is the same exact code that was in the Bluetooth chat example.
This is new with android 10, and I use an older SDK because none of my apps are in the store.
Here is the relavant code in case anyone is curious:
If admin.StartDiscovery = False Then
ToastMessageShow("Error starting discovery process.", True)
Else
ProgressDialogShow2("Searching for devices...", False)
End If
As you can see, the admin.startdiscovery is failing for some reason.
any thoughts?