Page 1 of 1

How to access devices clipboard?

Posted: Thu Aug 07, 2014 6:32 am
by wali

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


How to access devices clipboard?

Posted: Thu Aug 07, 2014 10:39 am
by Maryna Brodina

Hello!

You would need to find corresponding PhoneGap plugin.


How to access devices clipboard?

Posted: Thu Aug 07, 2014 11:52 am
by wali

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.


How to access devices clipboard?

Posted: Thu Aug 07, 2014 6:40 pm
by Evgene Karachevtsev

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...


How to access devices clipboard?

Posted: Sat Aug 09, 2014 6:12 am
by wali

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.....


How to access devices clipboard?

Posted: Sat Aug 09, 2014 6:35 am
by Alena Prykhodko

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]