Skip to content
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

Bluetooth Le Gatt Sample is Not Working. #268

Open
VikasRana007 opened this issue Jul 19, 2022 · 5 comments
Open

Bluetooth Le Gatt Sample is Not Working. #268

VikasRana007 opened this issue Jul 19, 2022 · 5 comments

Comments

@VikasRana007
Copy link

This Project sample is not working , team must work on it for all devices
this may work on old devices but not working in Android 12

popping up the dialog again and again for enabling location permission and for nearby devices permission but i have given this permission already,

so Please check the code then push it

thank you

@KaneZMY
Copy link

KaneZMY commented Aug 4, 2022

Check bluetoothLeChat example. It's working.

@AndroidCrypto
Copy link

The "Bluetooth Le Gatt Sample" is not working because of changed permissions in new Android SDK's. I modified and appended the code in AndroidManifest.xml and DeviceScanActivity.java and now it is running on my Android 12 device successfully.

The complete example is available on my GitHub repo https://github.com/AndroidCrypto/BluetoothLeGattSdk33,
have fun.

@android-team: maybe you can make the changes in your code as well and then close this issue, thanks.

Kind regards,
Michael

@Slion
Copy link

Slion commented Jan 15, 2023

I tried running that sample on an Android 11 and Android 10 phone and the scan always comes out empty. Maybe that explains it. Scary to see how a company like Google does not organise maintenance and further development of such samples.

@Slion
Copy link

Slion commented Jan 15, 2023

@KaneZMY How did you check that it was working? Which device did you scan which smartphone did you use?

@KaneZMY
Copy link

KaneZMY commented Jan 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants