06-23-2012 12:02 PM
Hey Everyone,
I was at the BlackBerry 10 Jam Toronto conference the other day, I signed up for all the sessions in the web track. I was really intrigued by bbUI.js.
Now I'm trying to implement in this sample web app, just to see how it would look.
here is my source code,
<?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.5.1">
<rim:loadingScreen backgroundImage="blackberry.png"
onFirstLaunch="true" />
<name>Maps</name>
<access subdomains="true" uri="http://m.maps.nokia.com"/>
<content src="http://m.maps.nokia.com"/>
<icon src="mapicon.png"/>
<rim
ermissions>
<rim
ermit>read_geolocation</rim
ermit>
</rim
ermissions>
<rim
rientation mode="portrait" />
<div data-bb-type="action-bar" data-bb-tab-style="highlight">
<div data-bb-type="action" data-bb-style="tab" data-bb-img="images/actionBar/cog_dark_theme.png">
<div data-bb-type="action" data-bb-style="tab" data-bb-selected="true" data-bb-img="images/actionBar/cog_dark_theme.png">
<div data-bb-type="action" data-bb-style="button" data-bb-img="images/actionBar/cog_dark_theme.png" onclick="alert('Find');">Find</div>
</div
</div>
</widget>
As you can tell, all I'm trying to do is what is called the action bar, See here https://github.com/blackberry/bbUI.js/wiki/Action-
I can package the app, sign it and load it on to my Dev Alpha without a problem, but I don't get the action bar. Anything I'm doing wrong or missing?
Thanks in advance ![]()
06-25-2012 03:21 AM
06-25-2012 05:16 AM
06-25-2012 06:00 AM
Indeed, so what should you have in your page, if your starting page is "http://m.maps.nokia.com" ?
06-25-2012 10:26 AM
06-25-2012 01:49 PM
06-25-2012 02:45 PM
06-25-2012 03:46 PM
that's right.
why dont you go through the docs and learn the basics first? ![]()
06-25-2012 03:57 PM
06-25-2012 03:59 PM