If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Regular Contributor
annuk
Posts: 82
Registered: ‎09-26-2012
My Device: Torch 9800
My Carrier: NA

BBUI.js for Q10 not working properly in z10

Hi,

 

We are porting our Z10 app to Q10 but facing a lot of issues with the bbui.js's latest beta release.

The screen transitions are not smooth although we have written the following code in our config file.

<rim:transitionEffect type="fadeOut" />
 </rim:loadingScreen>

We are not getting  the fade effect. We are using bbui's 0.9.6 beta release. BBUI 0.9.5 does not support development for Q10. What can be done to solve the transistions issue. The whole UI gets distorted on Z10. We want to use a single build for Z10 and Q10.

 

Regards,

Annuk

 

Please use plain text.
New Developer
UserNeo
Posts: 74
Registered: ‎10-23-2008
My Device: 9000

Re: BBUI.js for Q10 not working properly in z10

I think this is no BBui bug, this is a WebWorks bug.

 

cu

UserNeo

Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: BBUI.js for Q10 not working properly in z10

2 things I recommend you confirm :

 

1) Make sure  you using version 0.9.6.113 or higher.  This contains a fix for Q10 support.

 

2) Make sure your bbUI initialization logic is properly detecting BlackBerry 10, like this:

https://github.com/blackberry/bbUI.js/blob/master/samples/index.htm#L97

 

 

The rim:transitionEffect element is not supported by BlackBerry 10.  Setting it in your config will have no effect on your Q10 or Z10 app

https://developer.blackberry.com/html5/documentation/config_doc_elements.html

 

 

If you want to do page transition effects in bbUI.js, you define a data-bb-effect property in your HTML.  See docs here:

https://github.com/blackberry/bbUI.js/wiki/Screens

 

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Contributor
apersaud500
Posts: 41
Registered: ‎03-26-2011
My Device: 8520, 9300, Playbook, Dev Alpha
My Carrier: Digicel Guyana

Re: BBUI.js for Q10 not working properly in z10

I keep getting this error: blackberry not defined in bbui.js
Please use plain text.