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

hbldh/bleak - python API with pyjnius #713

Open
tomaszduda23 opened this issue Sep 22, 2024 · 0 comments
Open

hbldh/bleak - python API with pyjnius #713

tomaszduda23 opened this issue Sep 22, 2024 · 0 comments

Comments

@tomaszduda23
Copy link

tomaszduda23 commented Sep 22, 2024

Feature description

I would like to use bluetooth low energy in termux. bleak is nice option. It is already ported to android. The only missing part is access to android API from python in termux.
bleak uses pyjnius but it has access only to openjdk APIs. It would be possible to access android javavm by running it in termux-api process. I could prepare PR but I would like to check first if you would be willing to get it merge.

Reference implementation

With small test code I was able to run following example in termux kivy/pyjnius#732

Have you checked if the feature is accessible through the Android API?
Yes

Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)

https://github.com/kivy/kivy

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

1 participant