Yes, I know, a strange title - but it describes very well!!
I have the following scenario:
I put normal text into the clipboard on my smart device and I created an overlay window in my app. The overlay window (panel) has the permission to be located on top of all windows/items/etc. on screen. Realized as runtime permission! So far - so good!
So I can put all visible apps in the background (running there) by simply pressing the home button on my smart device and only my overlay windows remains on screen and is visible.
On this overlay window there is a bitmap and a button. So I am able to handle click events within this overlay window.
So I start now another app with a text input field and I click in this field. The software keyboard will displayed at once. To enter the clipboard text into this text field, I could simply make a "long click" in it and then choose "Insert" from system owned clipbard menu.
But, I dont want to go this way!!!
My goal is to click on my "overlay" button (means: button on the overlay window) in order to "trigger" the insertion of the clipboard text into this current text field.
Is there a way to implement such a "feature"???
Thankful for any help.
Best regards
I have the following scenario:
I put normal text into the clipboard on my smart device and I created an overlay window in my app. The overlay window (panel) has the permission to be located on top of all windows/items/etc. on screen. Realized as runtime permission! So far - so good!
So I can put all visible apps in the background (running there) by simply pressing the home button on my smart device and only my overlay windows remains on screen and is visible.
On this overlay window there is a bitmap and a button. So I am able to handle click events within this overlay window.
So I start now another app with a text input field and I click in this field. The software keyboard will displayed at once. To enter the clipboard text into this text field, I could simply make a "long click" in it and then choose "Insert" from system owned clipbard menu.
But, I dont want to go this way!!!
My goal is to click on my "overlay" button (means: button on the overlay window) in order to "trigger" the insertion of the clipboard text into this current text field.
Is there a way to implement such a "feature"???
Thankful for any help.
Best regards