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
New Contributor
menaknow
Posts: 3
Registered: ‎01-06-2013
My Device: Developer - BB10 DevAlpha & Bold 9900
My Carrier: Rogers
Accepted Solution

White screen when testing deployed app on dev alpha, but ripple is fine?

I've been creating a webworks application using bbUI.js for UI awesomeness.  While using visual studio to create the application and testing with Ripple, all has been well and has allowed me to test.

 

However, when I load the application on the dev alpha (debug token and all), and try to launch, I get a blank screen.  What is more odd when I try to open web inspector I see nothing being loaded for network and all I see is the basic HTML code.

 

I've tried to deploy two seperate applications with no success.

 

Is there a something I can do to try to test/narrow down this issue? 

 

Are there any gotchas? When I do a bar build with bbwp, I just get info statements with some warning about features in my config.xml not currently used yet.

Please use plain text.
Contributor
DigitalMaestro
Posts: 38
Registered: ‎03-07-2012
My Device: Dev Alpha B, Playbook 16GB, Z10 LE
My Carrier: Bell Canada

Re: White screen when testing deployed app on dev alpha, but ripple is fine?

Try putting an alert() right at the beginning of your code then deploy to the Dev Alpha.  When the alert shows on the Dev Alpha screen run the remote web inspector.    Once web inspector is running click on the alert to dismiss it.  The web inspector should then show any issues in the console.

 

I find that without the alert at the beginning, the web inspector can miss the first few seconds of app execution and thus not display any errors that occur right at the beginning.  I had a similar issue and the above procedure helped me ferret out the offending code that was causing the problem

 

Cheers

DM

------------
"The shortest answer is doing." - Jacula Prudentum
My app: Cashalyst
Please use plain text.
New Contributor
menaknow
Posts: 3
Registered: ‎01-06-2013
My Device: Developer - BB10 DevAlpha & Bold 9900
My Carrier: Rogers

Re: White screen when testing deployed app on dev alpha, but ripple is fine?

[ Edited ]

Nope no luck.

 

I put an alert before the bb.init() and after also, and still do not get any alerts.  I can confirm they fire in ripple however.

 

But for the dev alpha device, no luck.

 

EDIT:  I do notice under resources, my images folder does not show up like in the bbUI.js samples project.

Please use plain text.
BlackBerry Development Advisor
bryanhiggins
Posts: 187
Registered: ‎12-18-2012
My Device: Z10, Q10, Q5, Z30, Z3
My Carrier: Bell

Re: White screen when testing deployed app on dev alpha, but ripple is fine?

Hi,

 

Check that the value of your content element in config.xml is correct. Make sure you're building with the Gold SDK and referencing webworks as local://chrome/webworks.js.

 

Thanks,

Bryan

Bryan Higgins
BlackBerry WebWorks
@bryanhiggins
Please use plain text.
New Contributor
menaknow
Posts: 3
Registered: ‎01-06-2013
My Device: Developer - BB10 DevAlpha & Bold 9900
My Carrier: Rogers

Re: White screen when testing deployed app on dev alpha, but ripple is fine?

Follow up...

 

Most likely the config.xml was incorrect.  While I couldn't get my own to work, I copied and modified the bbUI.js config.xml and got that one to work.

 

My application now loads into the Dev Alpha.  Thanks for the help!

Please use plain text.