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
kgreene
Posts: 5
Registered: ‎11-16-2012
My Device: Blackberry 10 Dev Alpha

Blackberry WebWorks 1.0.3.8 and Blackberry jQuery mobile

Has anyone else encountered issues with Blackberry 10 Dev Alpha, WebWorks 1.0.3.8 and jQuery Mobile BB10?  I upgraded the SDK and the app I was working on has gone a bit wonky (not reconizing data themes, and other bugs).  Wondering if it was my code, I created an app pointing to http://blackberry.github.com/jQueryMobile-BB10-Theme/kitchenSink/index.html which used to work in 1.0.2.9, but no longer works (the page loads, but does not respond).

 

Is it just me?

BlackBerry Development Advisor
cdelcol
Posts: 37
Registered: ‎01-08-2010
My Device: Various

Re: Blackberry WebWorks 1.0.3.8 and Blackberry jQuery mobile

Can you post your config.xml so we can have a look? And are you sure you upgraded the OS on your device as well? If you could post your OS version just in case that would give us everything we need.

New Contributor
kgreene
Posts: 5
Registered: ‎11-16-2012
My Device: Blackberry 10 Dev Alpha

Re: Blackberry WebWorks 1.0.3.8 and Blackberry jQuery mobile

Here is my XML file (certain names removed for NDA purposes)

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="1.0.0.1" id="APP" xml:lang="en">
<author href="http://www.company.com/"
rim:copyright="Copyright 1998-2012 COMPANY">COMPANY</author>
<name>APP</name>
<content src="http://192.168.0.24/v1/?format=html&method=GetFeatured"/>
<access uri="http://192.168.0.24" subdomains="true" />
<access uri="*" subdomains="true" />
<feature id="blackberry.identity" required="true" version="1.0.0.0"/>
<feature id="blackberry.app.orientation">
<param name="mode" value="portrait" />
</feature>
</widget>

 

My OS version is 10.0.9.1103 - Model Blackberry 10 Dev Alpha

 

In this particular application, the action tab menu overflow has a white background.  For the kitchen sink test app, here's my config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="1.0.0.5" id="kitchensink" xml:lang="en">
<author href="http://www.company.com/"
rim:copyright="Copyright 1998-2012 My Corp">My Corp</author>
<name>KitchenSink</name>
<content src="http://blackberry.github.com/jQueryMobile-BB10-Theme/kitchenSink/index.html"/>
<access uri="*" subdomains="true"/>
<feature id="blackberry.identity" required="true" version="1.0.0.0"/>
</widget>

 

This does load the URL, but does not respond to any user interface (doesn't seem to register touch events).

 

Thank you!

Contributor
Gerii
Posts: 33
Registered: ‎04-30-2012
My Device: PlayBook, DevAlpha

Re: Blackberry WebWorks 1.0.3.8 and Blackberry jQuery mobile

The design is working fine for me. Are you using the latest version from Github? https://github.com/mdabydeen/jQueryMobile-BB10-Theme/tree/version_upgrade

BlackBerry Development Advisor
cdelcol
Posts: 37
Registered: ‎01-08-2010
My Device: Various

Re: Blackberry WebWorks 1.0.3.8 and Blackberry jQuery mobile

Also, can you see if WebWorks behaves differently than the browser? Your config.xml looks good and you aren't using any api's at all in that test app, so i would expect 100% equivalent behaviour.

 

Please note: touch events were changed in the recent OS build and I'm sure the jQuery theme was updated to the latest. if you are running an older OS then touch events not firing the same is definitely a change that is expected.

New Contributor
kgreene
Posts: 5
Registered: ‎11-16-2012
My Device: Blackberry 10 Dev Alpha

Re: Blackberry WebWorks 1.0.3.8 and Blackberry jQuery mobile

That is the baffling part.  It loads perfectly fine in the BB browser, just the Webworks app is messed up.  I've just updated to the lastest JQM and am still experiencing the same issue.  I'm hoping to test it on a Dev Alpha B device, to see if perhaps its a device issue.

Retired
JsonScott
Posts: 12
Registered: ‎01-17-2012
My Device: Bold 9900

Re: Blackberry WebWorks 1.0.3.8 and Blackberry jQuery mobile

Can you upgrade to WebWorks 1.0.4.5 and make sure your device/Simulator is upgraded to the latest.
Can you try updating to the latest JQM BB10 theme? https://github.com/blackberry/jQueryMobile-BB10-Theme/tree/master/dist/latest
We updated the actionbar and overflow menu yesterday and it may take care of your issue.

Thanks,

Jason
Twitter: @JsonScott