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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Developer
RileyGB
Posts: 260
Registered: ‎08-06-2010

BBUI.js sample won't load load on Dev Alpha

[ Edited ]

I'm trying to run this sample on my Dev Alpha: https://github.com/blackberry/bbUI.js/tree/master/samples and I'm ending up with a white screen and this error:

 

 

Thoughts?

 

 

 



Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples
Please use plain text.
Developer
RileyGB
Posts: 260
Registered: ‎08-06-2010

Re: BBUI.js sample won't load load on Dev Alpha

As an added note, the sample does work properly in Ripple.



Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples
Please use plain text.
Developer
DueNorth
Posts: 135
Registered: ‎09-25-2012
My Carrier: Rogers

Re: BBUI.js sample won't load load on Dev Alpha

Did you tweak the config.xml to make sure it has everything needed to run on the Dev Alpha? BBUI.js is used for multiple devices so the default settings could be wrong.

Please use plain text.
Developer
RileyGB
Posts: 260
Registered: ‎08-06-2010

Re: BBUI.js sample won't load load on Dev Alpha

[ Edited ]

I updated it to a nearly identical config.xml that I use in another app(BB10) and it still gives me the same error.

 

Here's my config.xml:

 

<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright 2010-2011 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<widget xmlns:rim="http://www.blackberry.com/ns/widgets" id="bbUISamples10" version="1.4.7.3" rim:header="RIM-Widget:rim/widget" xmlns="http://www.w3.org/ns/widgets">
  <name>bbUI Samples</name>
  <description>An example of how to use different BlackBerry UI layouts and controls</description>
  <author href="https://github.com/tneil">Tim Neil</author>
  <icon src="images\icon.png" />
  <icon src="images\icon.png" rim:hover="true" />
  <rim:splash src="images\bb10-splash-landscape.png" />
  <rim:splash src="images\bb10-splash-portrait.png" />
  <rim:loadingScreen backgroundImage="images\background.png" foregroundImage="images\hippo.png" onFirstLaunch="true">
    <rim:transitionEffect type="fadeIn" />
  </rim:loadingScreen>
  <content src="index.htm" />
  
  	<rim:permissions>
		<rim:permit>access_shared</rim:permit>
		<rim:permit>record_audio</rim:permit>
		<rim:permit>read_geolocation</rim:permit>
		<rim:permit>use_camera</rim:permit>
		<rim:permit>read_device_identifying_information</rim:permit>
	</rim:permissions>
	
		<rim:connection>
		<id>TCP_WIFI</id>
		<id>BIS-B</id>
		<id>MDS</id>
		<id>TCP_CELLULAR</id>
		<id>WAP2</id>
		<id>WAP</id>
	</rim:connection>
  
	<access uri ="*"/>
	<feature id="blackberry.app" required="true" version="1.0.0.0"/>
	<feature id="blackberry.system" required="true" version="1.0.0.0"/>
	<feature id="blackberry.ui.dialog" required="true" version="1.0.0.0"/>
	<feature id="blackberry.identity" required="true" version="1.0.0.0"/>
	<feature id="blackberry.invoke" required="true" version="1.0.0.0"/>
	<feature id="blackberry.push" />
  	<feature id="blackberry.message.sms" />
  	<feature id="blackberry.ui.menu" />
 	<feature id="blackberry.ui.dialog"/>
  	<feature id="blackberry.identity" />
  	<feature id="blackberry.system.event" />
  	<feature id="blackberry.app.event"/>
</widget>

 

 

 



Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples
Please use plain text.