Erel posted an example of how to share any file in ShareFileWithFileProvider.zip, found here:
https://www.b4x.com/android/forum/threads/share-txt-files.73166/#post-464921
I've used this to share files created by my app, and it has worked flawlessly on my Pixel XL running Android 7.1.2 ... until now! All of a sudden, initiating sharing does nothing. So, I went back to Erel's original example and installed that. But even that no longer works.
So then I tried both my app and Erel's example on my wife's Nexus 5x, also running Android 7.1.2. Both worked perfectly. Nexus 5x yes, Pixel XL no.
Has anyone else encountered anything similar? Unless it's because the latest patches for Android 7.1.2 for the Pixel XL has a problem, I'm stumped. (Just installed the latest patch ... same problem.) I would appreciate it if someone with a Pixel XL downloaded Erel's example above and tried it, to see if it works on their unit.
https://www.b4x.com/android/forum/threads/share-txt-files.73166/#post-464921
I've used this to share files created by my app, and it has worked flawlessly on my Pixel XL running Android 7.1.2 ... until now! All of a sudden, initiating sharing does nothing. So, I went back to Erel's original example and installed that. But even that no longer works.
So then I tried both my app and Erel's example on my wife's Nexus 5x, also running Android 7.1.2. Both worked perfectly. Nexus 5x yes, Pixel XL no.
Has anyone else encountered anything similar? Unless it's because the latest patches for Android 7.1.2 for the Pixel XL has a problem, I'm stumped. (Just installed the latest patch ... same problem.) I would appreciate it if someone with a Pixel XL downloaded Erel's example above and tried it, to see if it works on their unit.
Last edited: