0

I have installed kivy in my phone.

What Ia am trying to do is write a script from system and put it in /sdcard/kivy/myapp folder. How do I give permission to my script? eg Bluetooth need special permission to access it. Is there any way by which i could give permission in script for accessing Bluetooth? I came to know that I could give permission to apk but is there any way by which i could give permission in script?

user
  • 87
  • 8

1 Answers1

5

There is no way to add pragmatically permission. The Kivy launcher is built with few permission by default (INTERNET and BLUETOOTH if i remember well). For your case, you'll need to build your own APK using python-for-android or buildozer.

tito
  • 12,990
  • 1
  • 55
  • 75
  • 1
    how hard would it be to compile Kivy Launcher with a new permission? In my case I'm interested in using it with BLUETOOTH_ADMIN. What steps would I need to take? I have Kivy installed on my OSX machine, though possibly not some other things that could be necessary. – watsonic Oct 26 '16 at 05:36