11-08-2012 12:39 PM - edited 11-08-2012 12:40 PM
I'm trying to run this sample on my Dev Alpha: https://github.com/blackberry/bbUI.js/tree/master/
11-08-2012 12:40 PM
As an added note, the sample does work properly in Ripple.
11-08-2012 12:48 PM
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.
11-08-2012 03:50 PM - edited 11-08-2012 03:50 PM
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="184.108.40.206" 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</r
im: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="220.127.116.11"/> <feature id="blackberry.system" required="true" version="18.104.22.168"/> <feature id="blackberry.ui.dialog" required="true" version="22.214.171.124"/> <feature id="blackberry.identity" required="true" version="126.96.36.199"/> <feature id="blackberry.invoke" required="true" version="188.8.131.52"/> <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>
10-04-2013 06:19 AM
I'm seeing a similar problem using BBUI.js on my Z10. The same code works fine on the Ripple emulator.
I see just a white screen on my Z10, but it works fine on Ripple, and Playbook.
10-04-2013 01:20 PM
Works fine on my Z10 and DevCs (got one running 10.1 + the other 10.2)
Are you using the latest GitHub version?
I've attached the bbui I use as reference - see if that compiles
Also it is advised that you download the BBui extension from GitHub and install that for context menus if you want them
I did just notice when looking up the context menu stuff that there's a new version out - it's only a minor fix thoough so won't affect you
10-04-2013 01:36 PM
Yes, make sure you have the latest code from GitHub. We had some issues with some samples loading properly on 10.1 and 10.2 recently, but the current bb10 sample looks like it's doing things properly.
10-04-2013 01:49 PM
I've put in a JIRA over Z30
This is also something ppl sould be aware of
Both Ripple and Simulator break under 720x1280 conditions
A zoomed to small size in ripple breaks (actually not just Z10)
Z30 just breaks as the screen is incorrectly reported as 719x1279 pixels
I've been able to do a work-around by reading screendisplay extension metrics - but that requires a native extension and patching BBui
Native gives us proper number so I'm using that in my own gear