So I’m building an app that allows input from the user with their voice. I have built a webview and i have all the code to recieve voice input and transcode that into text. But now i want to be able to paste the text that the user says that i have already into whatever text box that is selected on the screen. For instance if the user is on google and clicked on the search box and says the words “stackoverflow”, my app recieves the string containing “stackoverflow”, now how do i paste that into the text box?
Thanks and let me know if i can give any further clarification
Unless you knew exactly what page the user had opened and exactly what the ID of the element you wanted to populate was, there’s no way to accomplish what you’re describing (if I understand your request correctly). Or are you asking how to populate an EditText that’s in your Activity (I’m assuming that’s NOT what you’re asking, but just in case).