I'm studying how to access Android with Python. I need to add a module as below. I don't know what name to look for. I have a question.
from kivy.app import App -> pip install kivy 로 해결
from jnius import autoclass, cast -> pip install pyjnius 로 해결
from android.permissions import request_permissions, Permission -> ??????
from android.storage import primary_external_storage_path -> ???
request_permissions([Permission.CAMERA, Permission.READ_EXTERNAL_STORAGE])
python android permission module
로 검색해 보았는데 python-for-android 모듈인 것 같네요.
It seems that it can be installed with pipe install python-for-android
.
© 2024 OneMinuteCode. All rights reserved.