Tag Archives: admin

Qpython Bluetooth admin permission patch

Qpython for android is very handy for getting an idea up and running quickly. There is a problem with its bluetooth permissions though which means that whenever any Bluetooth related function is run, a permissions error occurs. Sometimes the error message says something about Bluetooth requiring administrator permission to be used but in this case I received a connection refused message:
SC20140330-181316

After searching online, there was only one post related to this on a forum. Luckily a user suggested that decompiling the .apk file, editing the AndroidManifest.xml file to give the Qpython app the correct permissions and then rebuilding the .apk file should fix the issue. To work with the .apk file I used apktool for decompiling and rebuilding. Here are the commands used:

Continue reading