license element
Supported platforms
-
BlackBerry OS: 5.0 - 7.0 -
BlackBerry PlayBook OS: 2.0+ -
BlackBerry 10 OS
Syntax
<license>string</license>
Description
The <license> element specifies the end user license agreement or a copyright statement for a BlackBerry WebWorks application. This element is optional. If you specify this element, you can implement a feature to prompt BlackBerry device users to accept or decline the license agreement when they run the application for the first time. After users agree to the license agreement, the prompt does not appear when they run the application again.
The contents of the license agreement are also available on the About screen in the application.
Parent elements
Child elements
None
Occurrences
Zero or one
Attributes
You can specify the following attributes for this element:
|
Attribute |
Description |
|---|---|
| xml:lang |
The xml:lang attribute specifies the language that is used in the element. For more information about this attribute, visit www.w3.org. This attribute is optional. |
| its:dir |
The its:dir attribute specifies the directionality of the language. For example, its:dir="rtl" specifies a language that is written from right to left. For more information about this attribute, visit www.w3.org. You can use this attribute for localization. |
| href |
The href attribute specifies a web address for a web page that contains content or license information. This attribute is optional. |
Example
<license> Example license Copyright © 2012 My Corp. 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, INSULT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </license>
Last modified: 2013-05-02