Page 1 of 1

Clipboard Manager

Posted: December 29th, 2019, 10:33 am
by disala
Dear All,

Is there any way to paste on to text field with out pressing <CTRL> + ā€œVā€ on windows and long press and select PASTE on Android, my intention is to paste clipboard string though logic to a text filed in android device which is copied to clipboard by another android application using following statements.
Android
clipboardManager=(ClipboardManager)getSystemService(CLIPBOARD_SERVICE);
…
clipboardManager.setPrimaryClip(clipData);
appreciate your guidance

Disala

Re: Clipboard Manager

Posted: December 30th, 2019, 8:15 am
by Gregory Martin
Unfortunately, there is no way to automate this at the moment. We can discuss adding this as a feature request to implement, but for now there is no way to access the clipboard from logic.

Re: Clipboard Manager

Posted: December 30th, 2019, 9:38 am
by disala
Gregory Martin wrote: December 30th, 2019, 8:15 am Unfortunately, there is no way to automate this at the moment. We can discuss adding this as a feature request to implement, but for now there is no way to access the clipboard from logic.
Thank you

Disala