android - error while connecting kivy app with bluetooth. -
i'm using windows 7 , python 2.7, i'm trying connect kivy app bluetooth i'm getting error message. please explain.
*traceback (most recent call last): file "bluetooth.py", line 15, in <module> bluetoothadapter = autoclass('android.bluetooth.bluetoothadapter') file "build\bdist.win-amd64\egg\jnius\reflect.py", line 154, in autoclass file "jnius\jnius_export_func.pxi", line 25, in jnius.find_javaclass (jnius\jnius.c:16263) jnius.javaexception: class not found 'android/bluetooth/bluetoothadapter'*
the code you're showing you'd run on android access bluetoothadapter class. windows doesn't have (or of rest of android api), fails.
if want use bluetooth on windows, find windows platform specific way of doing (this unlikely involve pyjnius).
Comments
Post a Comment