| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <!-- |
| Widget Configuration Reference: |
| http://docs.blackberry.com/en/developers/deliverables/15274/ |
| --> |
| |
| <widget xmlns="http://www.w3.org/ns/widgets" |
| xmlns:rim="http://www.blackberry.com/ns/widgets" |
| version="1.0.0.0" id="cordovaExample"> |
| |
| <name>cordovaExample</name> |
| |
| <author>Your Name Here</author> |
| |
| <description> |
| A sample Apache Cordova application that responds to the deviceready event. |
| </description> |
| |
| <license href="http://opensource.org/licenses/alphabetical"> |
| </license> |
| |
| <!-- Cordova API --> |
| <feature id="blackberry.system" required="true" version="1.0.0.0" /> |
| <feature id="org.apache.cordova" required="true" version="1.0.0" /> |
| <feature id="blackberry.find" required="true" version="1.0.0.0" /> |
| <feature id="blackberry.identity" required="true" version="1.0.0.0" /> |
| <feature id="blackberry.pim.Address" required="true" version="1.0.0.0" /> |
| <feature id="blackberry.pim.Contact" required="true" version="1.0.0.0" /> |
| <feature id="blackberry.io.file" required="true" version="1.0.0.0" /> |
| <feature id="blackberry.utils" required="true" version="1.0.0.0" /> |
| <feature id="blackberry.io.dir" required="true" version="1.0.0.0" /> |
| <feature id="blackberry.app" required="true" version="1.0.0.0" /> |
| <feature id="blackberry.app.event" required="true" version="1.0.0.0" /> |
| <feature id="blackberry.system.event" required="true" version="1.0.0.0"/> |
| <feature id="blackberry.widgetcache" required="true" version="1.0.0.0"/> |
| <feature id="blackberry.media.camera" /> |
| <feature id="blackberry.ui.dialog" /> |
| <feature id="blackberry.connection" /> |
| <feature id="blackberry.media.microphone" required="true" version="1.0.0.0"/> |
| |
| <!-- Cordova API --> |
| <access subdomains="true" uri="file:///store/home" /> |
| <access subdomains="true" uri="file:///SDCard" /> |
| |
| <!-- Expose access to all URIs, including the file and http protocols --> |
| <access subdomains="true" uri="*" /> |
| |
| <icon rim:hover="false" src="res/icon/blackberry/icon-80.png" /> |
| <icon rim:hover="true" src="res/icon/blackberry/icon-80.png" /> |
| |
| <rim:loadingScreen backgroundColor="#CFCFCF" |
| foregroundImage="res/screen/blackberry/screen-225.png" |
| onFirstLaunch="true"> |
| <rim:transitionEffect type="fadeOut" /> |
| </rim:loadingScreen> |
| |
| <content src="index.html" /> |
| |
| <rim:permissions> |
| <rim:permit>use_camera</rim:permit> |
| <rim:permit>read_device_identifying_information</rim:permit> |
| <rim:permit>access_shared</rim:permit> |
| <rim:permit>read_geolocation</rim:permit> |
| <rim:permit>record_audio</rim:permit> |
| </rim:permissions> |
| |
| </widget> |