Copy on Android
Posted: Sun Feb 23, 2014 2:54 pm
Good morning all,
I've written an app forAndroid that will translate from English to Spanish. I've set up Google Translate so that right now, if you type an english phrase into the text field and press the translate button, it returns the translation just fine. I do want the phrase to be spoken. Google TTS I believe only supports english. I have discovered an app called "Easy Text to Speech" that runs in the background. Anything put onto the clipboard gets spoken, so I want to copy the text to the clipboard.
I am able to have the translate button copy the contents of the text box to the clipboard after Google returns the translation.... on the desktop. On the Android, it does not do the copy. Besides the speech app, I also tested to see if there was anything in the clipboard, (which would mean that it's the speech app, but there is nothing in the clipboard.) I know it's a long way to ask if anyone knows how to accomplish a copy function on the Android. (By the way, I did forget to mention that I can select the text on both platforms)
One more note, I have copied text from a browser on the Android device and "Easy Text to Speech" does indeed read it aloud almost immediately. (Pretty well I might add) BTW, it's a free app.
Thanks for taking the time to read this, and if anyone has an answer, I offer early thanks now!
Best,
Rob
I've written an app forAndroid that will translate from English to Spanish. I've set up Google Translate so that right now, if you type an english phrase into the text field and press the translate button, it returns the translation just fine. I do want the phrase to be spoken. Google TTS I believe only supports english. I have discovered an app called "Easy Text to Speech" that runs in the background. Anything put onto the clipboard gets spoken, so I want to copy the text to the clipboard.
I am able to have the translate button copy the contents of the text box to the clipboard after Google returns the translation.... on the desktop. On the Android, it does not do the copy. Besides the speech app, I also tested to see if there was anything in the clipboard, (which would mean that it's the speech app, but there is nothing in the clipboard.) I know it's a long way to ask if anyone knows how to accomplish a copy function on the Android. (By the way, I did forget to mention that I can select the text on both platforms)
One more note, I have copied text from a browser on the Android device and "Easy Text to Speech" does indeed read it aloud almost immediately. (Pretty well I might add) BTW, it's a free app.
Thanks for taking the time to read this, and if anyone has an answer, I offer early thanks now!
Best,
Rob