r/kivy•
sander314

Open a file in an external application in kivy/android

I want to open a file in an external application with a kivy android app. The code I found for this uses intent, but it seems android has changed and this now throws an exception.

The new way seems to be using a FileProvider, but I can't find out how to use this in kivy, since it refers to editing various XML files. This PR (https://github.com/kivy/python-for-android/pull/1922) has a solution but seems ignored and abandoned.

How should I go about doing this?

Posted Jan 30, 2020, 10:01 AM UTC

32
Loading comments…