07-10-2013 06:38 AM
I am new to BB10 development and I wondering if there is the possibility to insert native UI Elements like ActionMenu, AppMenu, Tabbedpane via Webworks and getting also the gesture recognnition to open these Menue (swipe from the top, swipe from left,...).
I having a jQueryMobile app and I want to integrate some native Elemts via Webworks. Without using frameworks
Or do I need to integrate frameworks like BBUI.js and adding gesture recognition by myself?
Solved! Go to Solution.
07-10-2013 09:44 AM
The JQuery Mobile BB10 theme contains an Action Bar, App Menu, sliding panels etc.
07-10-2013 10:09 AM
thanks for your reply,
I am aware of this BlackBerry theme. But my main question was to use WebWorks itself instead of an third party framework.
I also tried to integrate the bbUI JQM theme into my existing JQM App but as expected there are some
conflicts between JQM BBUI theme and JQM. And what about handling the native gestures like swiping from left or from the top of the screen? The JQM bbui theme example apps I have seen so far dont support these gestures.
07-10-2013 12:03 PM
There are no controls built in to WebWorks. It only proivdes plain HTML/JS/CSS, and the ability to pop up some simple dialogs. You'll need a UI framework, or code your own UI.
Note: the BBUI.js framework and the JQM framework with the BB10 theme are different things. They serve similar goals, but are not compatible with eachother. Judging from your posts you seem to be mixing them up.
As you are already using JQM, I'd suggest just adding the JQM BB10 theme.
Most BBUI projects use the Hammer.js framework for gestures. For JQM projects, you can either use the built-in JQ/JQM events, or choose to use Hammer.js too. Niether of these methods are BB-specific, and should work on any mobile device.
07-11-2013 01:44 AM