from kivy.app import platform
if platform() == 'android':
DATA_FOLDER = os.getenv('EXTERNAL_STORAGE') or os.path.expanduser("~")
it's not worked ???
please help..
def get_path_to_dcim():
from os.path import dirname, join
from kivy.app import App
return join(dirname(App.get_running_app()._user_data_dir), 'DCIM')
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/22224c68-5ab4-4fd8-b637-a7523f66d789%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
kivy launcher also works but it doesn't work when I make apk Do I need a change in buildozer spect file?
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CACepJkU3g-F%2BDuk5%3DgmvXvWr26jOAc1Oa4dz3YDYr61XOiVfGQ%40mail.gmail.com.
def get_path_to_dcim():
from os.path import dirname, join
from kivy.app import App
path_to_dcim = join(dirname(App.get_running_app()._user_data_dir), 'DCIM')
print(f'DCIM PATH - {path_to_dcim}')
return path_to_dcim
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/5d249ab8.1c69fb81.d0a31.18ce%40mx.google.com.