A sample application that demonstrates HTML5 camera Api, and Xhr2 uploading.
Tested On
- BlackBerry 10.0.9
Author(s)
Dependencies
- jquery.mobile-1.1.0.min.js, jquery.mobile-1.1.0.min.css, jquery-1.7.1.min.js The jQuery Mobile Framework
- node.js and npm
To contribute code to this repository you must be signed up as an official contributor.
- Clone the repo to your local machine
- 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/invoke/invoker and BB10-WebWorks-Samples/invoke/invokable folders into a BlackBerry application.
- Configure upload server - install and configure node and npm, inside the root directory of your node server, run the following commands
npm install [email protected]
to install the necessary node_modulesmkdir upload
-create the upload directorynode app.js
- to run the server The node server listens on port 8080 by default, this can be changed in the app.js file
-
Update the access element to point to your server address in config.xml.
-
Within the index.html update the ip address to your upload server. Assure that the port number and folder related to the server are also part of this address. E.g http://Your.Ip:8080/upload/ for port '8080' and the 'upload' folder
- BlackBerry HTML5 WebWorks - Downloads, Getting Started guides, samples, code signing keys.
- BlackBerry WebWorks Development Guides
- BlackBerry WebWorks Community Forums
- BlackBerry Open Source WebWorks Contributions Forums
Please see the README of the BB10-WebWorks-Samples repository for instructions on how to add new Samples or make modifications to existing Samples.
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.
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.