automating gboard
Posted: 25 Aug 2019 18:40
Good evening.
This is a bit tricky for me.
I use gboard as a default keyboard.
Many times I use the Google search feature and "copy" (it doesn't get through the system clipboard) some link I found with that into a text I am editing, which is like:
https://automagic4android.com/
Automagic - Android Device Automation
I managed to get when gboard copy and paste link with UI events, component clicked, and now I make it play a sound.
What I would like to do is get the "pasted" text and change its syntax, say to make it a markdown or html link f.i. like [automagic](
https://automagic4android.com/) or else...
But I have no idea how to get to the text passed from gboard to the foreground app.
I tried UI events but found nothing.
Any idea?
Thank you.
This is a bit tricky for me.
I use gboard as a default keyboard.
Many times I use the Google search feature and "copy" (it doesn't get through the system clipboard) some link I found with that into a text I am editing, which is like:
https://automagic4android.com/
Automagic - Android Device Automation
I managed to get when gboard copy and paste link with UI events, component clicked, and now I make it play a sound.
What I would like to do is get the "pasted" text and change its syntax, say to make it a markdown or html link f.i. like [automagic](
https://automagic4android.com/) or else...
But I have no idea how to get to the text passed from gboard to the foreground app.
I tried UI events but found nothing.
Any idea?
Thank you.