This appears to be a limitation with Android. You can't share data that is greater than about 512 KB in size between applications. So what I'm going to do is modify the code so that if the generated text is greater than about 500 KB in size, I will write out the data to a file instead, and share that file with the other app. One thing that should be noted is that not every app can handle being passed a file through an intent. I found that I could not share a file with Jota Text Editor - it shows up as an option, but when I send it the file, it does not load it. Your experience may vary, as I tested on a rooted tablet running Android 7.1.
Thanks,
Mike
Thanks,
Mike