-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement FIleProvider in hard coded template #13
Comments
Due to the differing nature of print services on Android, the MVP needs to be able to fully share an image file via the app's FIleProvider. On success, issue #12 should be looked at for completion. |
Update |
Implementing: Looks like a great solution for future use of
No good for developing for Dad who's on api=25 |
OK. Back to the following link |
Adding to main.py:
|
|
Now modify existing share function to take advantage of FileProvider class:
|
Trying forked |
Deleting fork of p4a and cloning https://github.com/pavelsof/python-for-android.git instead From kivy/python-for-android#2200 (comment) Insert
into AndroidManifest.tml.xml |
Reverting to https://github.com/Fak3/python-for-android.git and following comment
|
Giving up on Fak3 PR and reverting to stock buildozer to try my luck with some hard wiring |
Following this comment
|
Transferred to Ubuntu laptop |
🍾 🍾 🍾 🍾 |
Error: createNewFile permission denied in logcat
|
I got tired of doing this repeatedly, so I wrote a nice little script to automate it |
Used https://stackoverflow.com/q/38983649/7312441 as starting point, however, following error thrown
11-23 12:09:14.323 23238 5039 I python : jnius.jnius.JavaException: JVM exception occurred: file:///./blank_9x9.png exposed beyond app through ClipData.Item.getUri()
Quick search reveals promising post kivy/plyer#500 (comment)
also:
https://github.com/alecvn/kivy-android-camera#kivy-example-for-android-camera
but will create a new issue for this if next try can't make tests. Passed tests but still too big a rabbithole for task in hand. Off to backlog
Originally posted by @ThomasCWright in #1 (comment)
The text was updated successfully, but these errors were encountered: