I found Erel's sample app of sharing a file here:
https://www.b4x.com/android/forum/threads/share-txt-files.73166/#post-464921
I implemented this code into my App, and although it works perfectly fine, it terminates the parent app! So for example, if I click the Share button in my app, it terminates my App. So if I made a mistake, or the program I chose to share with didnt implement content:// like ES File Explorer, I have to re-launch my app and redo everything to share again.
any ideas?
https://www.b4x.com/android/forum/threads/share-txt-files.73166/#post-464921
I implemented this code into my App, and although it works perfectly fine, it terminates the parent app! So for example, if I click the Share button in my app, it terminates my App. So if I made a mistake, or the program I chose to share with didnt implement content:// like ES File Explorer, I have to re-launch my app and redo everything to share again.
any ideas?