Skip to content

hbldh/bleak - python API with pyjnius #713

@tomaszduda23

Description

@tomaszduda23

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions