Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 75f5ac263c

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
app
node-upload
README.md

README.md

blackberry.io Sample Application

Sample applications that demonstrate how to use the blackberry.io and blackberry.io.filetransfer APIs for the Blackberry 10 WebWorks SDK

Tested On

  • BlackBerry 10.0.6

Author(s)

Dependencies

  1. jquery.mobile-1.1.0.min.js, jquery.mobile-1.1.0.min.css, jquery-1.7.1.min.js The jQuery Mobile Framework
  2. node.js and npm

To contribute code to this repository you must be signed up as an official contributor.

How to Build

  1. Clone the repo to your local machine
  2. Copy the webworks-.js client file from C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK \Framework\clientFiles (Windows) or ~/SDKs/BlackBerry 10 WebWorks SDK /Framework/clientFiles (Mac) into the top level of the local fileTransfer folder (e.g. ~/WebWorks/fileTransfer/webworks-.js).
  3. Optional: Edit the script reference to the webworks-.js file within any *.html files to ensure the version number is correct.
  4. Use Using the Ripple Mobile Emulator and either the BlackBerry WebWorks SDK for Smartphone or the BlackBerry WebWorks SDK for Tablet OS, package the contents of your local BB10-WebWorks-Samples/fileTransfer folder into a BlackBerry application.

Troubleshooting

  1. Configure upload server - install and configure node and npm, inside the root directory of your node server, create a folder named uploads then run the following command $npm install express@2.5.9 The node server listens on port 8080 by default, this can be changed in the app.js file

  2. When uploading, URL is being blocked access by the whitelist - Update the whitelisted IP in config.xml for the upload server.

More Info

Contributing Changes

Please see the README of the BB10-WebWorks-Samples repository for instructions on how to add new Samples or make modifications to existing Samples.

Bug Reporting and Feature Requests

If you find a bug in a Sample, or have an enhancement request, simply file an Issue for the Sample and send a message (via github messages) to the Sample Author(s) to let them know that you have filed an Issue.

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.