You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
The text was updated successfully, but these errors were encountered: