How to use pybluez and kivy for android development? -


i'm developing android application has dependency on pybluez, problem when launch application, kivy launcher/logcat complains pybluez compiled x86, not arm:

importerror: dlopen failed: "/storage/emulated/0/kivy/orkiv/bluetooth/_bluetooth.so" not 32-bit: 2

do know how solve this? think have compile arm... need guidance on because i've never done before. thank in advance.

as per answer on kivy mailing list:

i'm not sure pybluez work on android? you'd need use android apis access bluetooth device.

either way, how did compile android?

you access android apis via pyjnius, or have cross platform python api via kivy's plyer project.

edit: looks pybluez wrapper bluez c library. need make python-for-android recipe compile android, if have way access bluetooth on android.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -