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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
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

 

New Developer
Posts: 77
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

Retired
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.
Highlighted
Contributor
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