wali
Posts: 0
Joined: Wed Aug 06, 2014 5:08 am

How to access devices clipboard?

How to access devices clipboard? For example: copy text from clipboard to a local variable.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to access devices clipboard?

Hello!

You would need to find corresponding PhoneGap plugin.

wali
Posts: 0
Joined: Wed Aug 06, 2014 5:08 am

How to access devices clipboard?

I looked up the documentation as well as the forum but could not find something related. Appreciate if you provide some more detail and an example if possible.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to access devices clipboard?

Hello Wali,

An example of the plugin: https://build.phonegap.com/plugins/67
Here's how to add it to the Appery.io application: http://devcenter.appery.io/documentat...

wali
Posts: 0
Joined: Wed Aug 06, 2014 5:08 am

How to access devices clipboard?

Thank you Evgene for your kind reply! I tried to follow the steps but when I try to export the app to android, I get this error message:

Build error

Most likely build error cause:

clipboard.js:line 518:column 468:illegally formed XML syntax span class="nx"Clipboard/spanspan class="p"./spanspan class="nx"prototype/span.....

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to access devices clipboard?

Hello,

Please read this section
http://devcenter.appery.io/documentat...
[quote:]To switch to Release mode, check the “Release” box. If the “Release” box is checked JavaScript assets will be minified to reduce the binary size.[/quote]

Return to “Issues”