Open HelaFaye opened 4 years ago
I'll close this myself when I find a solution or, you can if you find it first (of course). This is mostly meant as a heads-up that an issue exists and people are working to resolve it (mostly tshirtman of the Kivy team).
I suspect it's an issue with python-for-android but, I just thought I'd give you a heads up about this before anyone complains. What branch of python-for-android and pyjnius worked last for bletest from your experience?
From my experience, bletests works with latest PIP versions of python-for-android (2019.10.6) and pyjnius (1.2.1).
I made the mistake of releasing a broken APK on the Play Store because I hadn't changed anything that should have broken anything (just added new UUIDs for additional BLE devices supported by my app) and now I'm hurting because of it so, if you have any ideas, please share them with me.
Maybe it is related to Java class usage outside the main thread, like it was in #5. Wrapping BLE class initialization with the run_on_ui_thread
should help in this case. Is there traceback in the log?
Also, I'm still planning on helping add better documentation for ABLE if you're cool with that. I wrote this back in 2012 (and practically didn't know what I was talking about yet; just slapped the article together overnight while doing the research on the fly) so, I think I'm up to the task of technical writing: https://www.androidauthority.com/android-hacking-apps-pentesting-57063/
Great. I think adding better documentation will be really cool.
I suspect it's an issue with python-for-android but, I just thought I'd give you a heads up about this before anyone complains. What branch of python-for-android and pyjnius worked last for bletest from your experience? I made the mistake of releasing a broken APK on the Play Store because I hadn't changed anything that should have broken anything (just added new UUIDs for additional BLE devices supported by my app) and now I'm hurting because of it so, if you have any ideas, please share them with me. Also, I'm still planning on helping add better documentation for ABLE if you're cool with that. I wrote this back in 2012 (and practically didn't know what I was talking about yet; just slapped the article together overnight while doing the research on the fly) so, I think I'm up to the task of technical writing: https://www.androidauthority.com/android-hacking-apps-pentesting-57063/