Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
New orientation API sample
Browse files Browse the repository at this point in the history
  • Loading branch information
mimendoza committed Nov 29, 2012
1 parent 2f76c64 commit 015c7c1
Show file tree
Hide file tree
Showing 9 changed files with 13,792 additions and 0 deletions.
307 changes: 307 additions & 0 deletions Orientation/LICENSE

Large diffs are not rendered by default.

62 changes: 62 additions & 0 deletions Orientation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Orientation

This application shows the features of the BB10 Orientation API

The sample code for this application is Open Source under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).


**Applies To**

* [BlackBerry WebWorks SDK for BB10](https://developer.blackberry.com/html5/)


**Author(s)**

* Michelle Mendoza


**Dependencies**

* WebWorks SDK 1.0.3.8
* [bbUI.js](https://github.com/blackberry/bbUI.js) version 0.9.5, available under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).

**Known Issues**

* -

**Tested On**
* BlackBerry 10 Dev Alpha 10.0.9.1103

**To contribute code to this repository you must be [signed up as an official contributor](http://blackberry.github.com/howToContribute.html).**

## How to Build

To build the Orientation sample application:

1. Click on the **Downloads** tab above.
2. Select **Download as zip** (Windows) or **Download as tar.gz** (Mac) and save the downloaded file to your local machine.
3. Create a new folder on your local machine named **Orientation** e.g. **C:\Documents and Settings\User\WebWorks\Orientation** (Windows) or **~/WebWorks/Orientation** (Mac).
4. Open the downloaded ZIP file from step 2 and extract the contents **from inside the zipped Orientation folder** to your local **Orientation** folder from step 3. This ensures that the necessary application assets, such as **config.xml**, are correctly located at the top level of the local **Orientation** folder (e.g. **~/WebWorks/Orientation/config.xml**).
5. Using the **[Ripple Mobile Emulator](http://developer.blackberry.com/html5/download)** and the **[BlackBerry WebWorks SDK for BB10](http://developer.blackberry.com/html5/download)**, package the contents of your local **Orientation** folder into a BlackBerry application. Enter the project root settings field as the local folder created in step 3, and the archive name settings field as **Orientation**.


## More Info

* [BlackBerry HTML5 WebWorks](https://bdsc.webapps.blackberry.com/html5/) - Downloads, Getting Started guides, samples, code signing keys.
* [BlackBerry WebWorks Development Guides](https://bdsc.webapps.blackberry.com/html5/documentation)
* [BlackBerry WebWorks Community Forums](http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev)
* [BlackBerry Open Source WebWorks Contributions Forums](http://supportforums.blackberry.com/t5/BlackBerry-WebWorks/bd-p/ww_con)

## Contributing Changes

Please see the [README](https://github.com/blackberry/WebWorks-Samples) of the 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](https://github.com/blackberry/WebWorks-Samples/issues) 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](https://github.com/blackberry/WebWorks-Samples/issues).


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

0 comments on commit 015c7c1

Please sign in to comment.