-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application is not working #1
Comments
hello, I may notice about these points:
Thank you :) |
Android version of my phone- 8.1.0, My problem is, |
Hi |
|
I did not get my answer. |
If it is not paired, I should get it in ListOfDiscoveredDevices() right?(I have one paired and one unpaired device).. |
[Yes, if not paired you should get it on discovered device. |
After checking the Android implementation, I found that in below code,
deviceList is not getting added..but there will be bluetoothAdapter.BondedDevices(from which we can get paired devices) Further checking, below code is not executing..
when these should run? Can you please help.. |
After enabling the Location Permission for the app(earlier, I turned on Device Location, but we should allow the app to get device location), all my above problems are solved out. Thank you.. But new exception rised while clicking Connect button Java.IO.IOException at below line
|
Hi. The reason of that exception is: The bluetooth connection is working in Serial Port Profile. |
After replacing commented code with Task.Run, I'm not getting above exception now.
But, in below set of code, after executing
Sorry, I didn't get how to open the serial port on destination device, whether it may be PC/Phone.. |
Hi, I'm sorry that I couldn't comment on the problem. I need some time to determine what is happening with your problem. |
Hi, whether your sample is for connecting to Classic bluetooth devices / BLE devices?.. |
It is for classic bluetooth devices. |
Do you have any alternatives for connecting to BLE devices..? |
As far as I know, you should consider Bluetooth profiles. Each BLE device works in one or multiple profiles. Take a look at Google sources (Java) about the Bluetooth. You will get good answers from it. Also, you can check Bluetooth Standards implementations in Java which can be found in Xamarin.Android. |
Hi,
I ran this application in VS2019. I didn't get any error while building, running..To check in real time, I have created apk file. But it is not working(not showing error..Other than State button, all other button actions not responding with results as expected) ..while checking with USB debugging also, sometimes getting exceptions..
The text was updated successfully, but these errors were encountered: