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: 323
Registered: ‎05-07-2009
My Device: BlackBerry Z10, PlayBook, 9900
My Carrier: Telus

Focus Navigation on a Bold 9900 device

I've build 2 WebWorks apps for BlackBerry SmartPhones supporting versions 5.0 and above but I can't get the focus based navigation to work - at all on my Bold 9900.

 

The exact same code works fine on a Curve 9300.

 

I have the required tag in my config.xml file:

 

<rim:navigation mode="focus"/>

 

and I've tried all possible variations of adding the special attributes to make elements navigable (although I just want hyperlinks to work e.g. <a> tags):

 

<a href="blah" x-blackberry-focusable="true">click me</a>

 

all of the links are clickable from the touch screen, but I can't scroll to them and others I've shared my app with confirm on their Bold 9900's that the thumbscroll doesn't work there either.

 

 

If I can't find a solution to this I supose I'm going to try and "rol-my-own" focus based navigation on the page by tracking mouse movements... but I'd hate to expend the effort if there is a catch to making this work.

 

My WebWorks SDK/Tools might not be the very latest (less than 12mo. old but I haven't updated religiously) if there were any known bugs in previous versions I can certainly update if that will help.

 

Any ideas?


PlayBook Apps: DataMine, Dots + Boxes, 5 Marbles
BlackBerry SmartPhone Apps: 5 Marbles Soon: **** (D.Z.A), ****Quest, **** Challenge, VaultCracker, DevBrowser, Radial****
Developer
Posts: 222
Registered: ‎11-05-2011
My Device: Z10
My Carrier: Beeline

Re: Focus Navigation on a Bold 9900 device

Developer
Posts: 323
Registered: ‎05-07-2009
My Device: BlackBerry Z10, PlayBook, 9900
My Carrier: Telus

Re: Focus Navigation on a Bold 9900 device

[ Edited ]

Thanks Pumano- but I should have clarified that is exactly what I'm doing... and it works fine on older devices but fails on Bold 9900.

 

e.g. these are both in my config.xml

 

<rim:navigation mode="focus"/>
<feature id="blackberry.ui.dialog" required="true" version="1.0.0.0"/>


PlayBook Apps: DataMine, Dots + Boxes, 5 Marbles
BlackBerry SmartPhone Apps: 5 Marbles Soon: **** (D.Z.A), ****Quest, **** Challenge, VaultCracker, DevBrowser, Radial****
Trusted Contributor
Posts: 134
Registered: ‎04-15-2012
My Device: Bold 9900
My Carrier: Vodafone

Re: Focus Navigation on a Bold 9900 device

I'd like to know the fix to this too
Developer
Posts: 323
Registered: ‎05-07-2009
My Device: BlackBerry Z10, PlayBook, 9900
My Carrier: Telus

Re: Focus Navigation on a Bold 9900 device

I'm going to peek into "rolling my own" implementation this weekend... if I don't find an ideal magic solution... I'll post the code back here for others...


PlayBook Apps: DataMine, Dots + Boxes, 5 Marbles
BlackBerry SmartPhone Apps: 5 Marbles Soon: **** (D.Z.A), ****Quest, **** Challenge, VaultCracker, DevBrowser, Radial****
Developer
Posts: 323
Registered: ‎05-07-2009
My Device: BlackBerry Z10, PlayBook, 9900
My Carrier: Telus

Re: Focus Navigation on a Bold 9900 device

It also looks like there has been some recent work on focus navigation that I see here in closed milestones...

https://github.com/blackberry/WebWorks/issues/49

 

I wonder if these improvements will "solve" my issue?


PlayBook Apps: DataMine, Dots + Boxes, 5 Marbles
BlackBerry SmartPhone Apps: 5 Marbles Soon: **** (D.Z.A), ****Quest, **** Challenge, VaultCracker, DevBrowser, Radial****
Trusted Contributor
Posts: 134
Registered: ‎04-15-2012
My Device: Bold 9900
My Carrier: Vodafone

Re: Focus Navigation on a Bold 9900 device

I believe this comit is already a part of the current WW release right?