user
user

Reputation: 87

how to give permission for Kivy android scripts?

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?

Upvotes: 0

Views: 2030

Answers (1)

tito
tito

Reputation: 13271

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.

Upvotes: 5

Related Questions