forked from blackberry/bbUI.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Config.xml Requirements
tneil edited this page Mar 5, 2013
·
6 revisions
To properly use the functionality of bbUI in your application, you will need at least the following base capabilities declared in your application's config.xml file.
<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" />
</widget>
Additionally, if you use dropdowns in your application on BB6/BB7 Smartphones, you will need to include the additional feature:
<feature id="blackberry.ui.dialog" />
For bbUI menus to work on BB6/BB7 Smartphones you will need to include the feature:
<feature id="blackberry.ui.menu"/>
For bbUI menus to work for both PlayBook and BlackBerry 10 you will need to include the features:
<feature id="blackberry.app"/>
<feature id="blackberry.app.event"/>
For bbUI Context Menus to work on BB10 Smartphones you will need to include the feature:
<feature id="blackberry.ui.contextmenu"/>