This extension provides clipboard read/write access for blackberry WebWorks applications.
Authors: Martin Kleinschrodt
- BlackBerry Tablet OS v 2.0.0
How to install this extension
Download the source from this repository and extract it to a location on your computer.
Using File Explorer browse to the downloaded source code for this extension: Tablet\Clipboard.
Copy the downloaded Tablet\Clipboard\blackberry.clipboard directory to the extensions directory for the BlackBerry WebWorks SDK for Tablet OS. The default path for this location is C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS\bbwp\ext.
NOTE: Be sure to back-up this ext\blackberry.clipboard directory in your WebWorks SDK extensions directory before performing a WebWorks SDK upgrade. Simply copy it back into the ext directory after you have completed your SDK upgrade.
Required Feature ID
Whenever you use the below feature id in any of your WebWorks applications this extension will be loaded for use.
<feature id="blackberry.clipboard" />
Write text to clipboard:
Get text from clipboard:
var text = blackberry.clipboard.getText();