mirror of
https://github.com/blackberry/bbUI.js.git
synced 2026-07-21 03:43:14 +01:00
Page:
Config.xml Requirements
Pages
Action Bar
Activity Indicator
Application Structure
BBM Bubbles
Buttons
Checkboxes
Config.xml Requirements
Context Menus
Control Groups
Data Attribute Reference
DropDowns
Grid List
Image List
Inputs
Label Control Container
Performance Tips
Pill Buttons
Progress Indicator
Radio Buttons
Screen Menus
Screen Specific CSS and JavaScript
Screens
Scroll Panel
Sliders
Title Bars
Toggle Buttons
Toolkit Initialization
No results
8
Config.xml Requirements
Tim Neil edited this page 2014-07-16 07:10:01 -07:00
Table of Contents
To properly use the functionality of bbUI in your application, you will need to properly configure your application's config.xml file. The bare minimum for your desired platform is outlined below.
BlackBerry 10
<widget xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0" xmlns="http://www.w3.org/ns/widgets">
<name>My App Name</name>
<content src="mystartpage.htm" />
</widget>
For full functionality you should also include the following BlackBerry 10 plug-ins for WebWorks 2.X
- com.blackberry.bbui
- com.blackberry.app
- com.blackberry.ui.contextmenu
BlackBerry Playbook
<widget xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0" xmlns="http://www.w3.org/ns/widgets">
<name>My App Name</name>
<content src="mystartpage.htm" />
<rim:navigation mode="focus" /> <!-- Only applies for BB5/6/7 -->
<feature id="blackberry.system.event" />
<feature id="blackberry.app" />
<feature id="blackberry.app.event"/>
</widget>
BlackBerry BlackBerry 5/6/7
<widget xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0" xmlns="http://www.w3.org/ns/widgets">
<name>My App Name</name>
<content src="mystartpage.htm" />
<rim:navigation mode="focus" />
<feature id="blackberry.system.event" />
<feature id="blackberry.app" />
<feature id="blackberry.app.event"/>
<feature id="blackberry.ui.dialog" />
<feature id="blackberry.ui.menu"/>
</widget>