05-12-2012 10:23 PM
I have a webworks smartphone app that uses focus-based navigation. The app also incorporates ad banners via the Banner object. When I include an ad banner in a page, the focus-based navigation doesn't work. If I exclude the Banner, focus-based navigation does work. Here's a simple example :
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,height=device-height,u
//only if the following line is commented out will focus-based navigation work
var bannerObj = new blackberry.advertising.Banner(<myZoneId>, "bannerDiv");
<!-- some controls that should receive focus on trackpad movement...
but they don't when the ad banner is included -->
<a href="link" onMouseOver="this.focus();">link1</a><br/>
<a href="link" onMouseOver="this.focus();">link2</a><br/>
<a href="link" onMouseOver="this.focus();">link3</a><br/>
Has anyone else encountered this problem of ad banners interfering with focus-based navigation? Any suggestions to work around the issue?
05-14-2012 11:19 AM
Oh my God yes. I've been running into this same issue. I'm using the bbUI framework tho and no, I haven't found a workaround, still waiting for suggestions. I would like to know if it's something wrong with how we configured our apps or if there's something broken with banners
05-14-2012 11:27 AM
I think this may be an unfortunate limitation of the Ad SDK for WebWorks. I recall that the SDK was created to leverage certain characterstics of the underlying BrowserField web view. I believe some of these features conflict with the focus mode navigation.
Can anyone conclusively confirm this?
In the meantime, would you please file an issue for this behavior in Github here?
05-14-2012 11:33 AM
I already filed an issue in bbUI's github page issue #60
but will gladly do it in the WebWorks' one if it's needed