Clipboard Manager

Discussions about creating CAPI applications to run on Android devices
Post Reply
disala
Posts: 9
Joined: August 27th, 2016, 9:47 pm

Clipboard Manager

Post 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
Gregory Martin
Posts: 1792
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Clipboard Manager

Post 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.
disala
Posts: 9
Joined: August 27th, 2016, 9:47 pm

Re: Clipboard Manager

Post 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
Post Reply