<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>BlackBerry Developer Blog &#187; html5</title>
	<atom:link href="http://devblog.blackberry.com/tag/html5/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Fri, 17 May 2013 17:47:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='devblog.blackberry.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/9ef0a66c09615fa946c4179662398878?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>BlackBerry Developer Blog &#187; html5</title>
		<link>http://devblog.blackberry.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://devblog.blackberry.com/osd.xml" title="BlackBerry Developer Blog" />
	<atom:link rel='hub' href='http://devblog.blackberry.com/?pushpress=hub'/>
		<item>
		<title>Frameworks, JavaScript and C++  … oh my! BlackBerry Jam Americas Session Preview</title>
		<link>http://devblog.blackberry.com/2013/05/frameworks-javascript-and-c-oh-my-blackberry-jam-americas-session-preview/</link>
		<comments>http://devblog.blackberry.com/2013/05/frameworks-javascript-and-c-oh-my-blackberry-jam-americas-session-preview/#comments</comments>
		<pubDate>Fri, 10 May 2013 17:59:47 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[BlackBerry Jam]]></category>
		<category><![CDATA[BlackBerry Live]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14958</guid>
		<description><![CDATA[I look forward to seeing many of you in Orlando May 14-16 for BlackBerry Jam Americas. You’ll find me wandering around &#38; presenting, coding, hacking and helping developers find new and interesting ways to build amazing applications for BlackBerry 10. In fact, I’m quite excited to present the following two sessions which are directed at [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14958&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I look forward to seeing many of you in Orlando May 14-16 for BlackBerry Jam Americas. You’ll find me wandering around &amp; presenting, coding, hacking and helping developers find new and interesting ways to build amazing applications for BlackBerry 10. In fact, I’m quite excited to present the following two sessions which are directed at the HTML5 &amp; WebWorks development communities:</p>
<p><a href="https://bblive.blackberryconferences.net/2013/connect/sessionDetail.ww?SESSION_ID=2725"><b>JAM 24 – HTML5 Frameworks: Up-And-Comers that are Building Steam</b></a><b></b></p>
<p>Ask any Web developer how many JavaScript frameworks there are out there and you’ll likely end up waiting a long time as they answer. There are so many to choose from and new ones appear in the wild on a daily basis: UI frameworks, libraries, shims &amp; polyfills, animation, graphs, gestures, MVC, performance, etc. We developers who solve difficult coding problems are eager to share their solutions in the form of JavaScript frameworks, allowing others to also build compelling application content. In this session, I’m going to share a few of my own personal favorite frameworks that are focused on improving the quality of your HTML5 applications or games. I even plan on doing a live coding demo of an HTML5 gaming framework. Wish me luck!</p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-14959" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/05/adam1-e1368208692138.png?w=600&#038;h=340" width="600" height="340" /></p>
<p><a href="https://bblive.blackberryconferences.net/2013/connect/sessionDetail.ww?SESSION_ID=2713"><b>JAM23 – Lab: Getting Deep Device Integration with Third Party Extensions</b></a><b></b></p>
<p>Okay folks, I’m really excited about this one. This session is actually a 2 hour lab that will empower developers to boost the quality of their HTML5-powered WebWorks applications and take them to the next level of awesomeness.  Developers – have you ever built a Web app using technologies like HTML5, CSS or JavaScript and encountered a situation where the feature you wanted to implement could not be added because it was not defined in any Web standards?  Some examples include: blinking the LED light, sending a message via Bluetooth or keeping the device backlight on (none of these are features that can be added using standard JavaScript).  The BlackBerry 10 OS has a powerful native API platform that can be leveraged in a WebWorks application by exposing native code to the JavaScript engine via custom Third Party extensions.  During this lab, attendees will not only learn how to build WebWorks extensions for BlackBerry 10, but they will actually create their own!  By the time this lab is over, everyone will have a functional WebWorks application running on their <a href="http://devblog.blackberry.com/2013/04/blackberry-jam-blackberry-z10/">free BlackBerry Z10 smartphone</a> that makes use of a native extension. It’s going to get crazy in there.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14958/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14958/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14958&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/05/frameworks-javascript-and-c-oh-my-blackberry-jam-americas-session-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f032fc46b780f6d9fa38b24a7f8ff2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adamstan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/adam1-e1368208692138.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>He Said: Chad on Leveraging the Power of Foursquare in BlackBerry 10</title>
		<link>http://devblog.blackberry.com/2013/05/he-said-chad-on-leveraging-the-power-of-foursquare-in-blackberry-10/</link>
		<comments>http://devblog.blackberry.com/2013/05/he-said-chad-on-leveraging-the-power-of-foursquare-in-blackberry-10/#comments</comments>
		<pubDate>Tue, 07 May 2013 18:14:10 +0000</pubDate>
		<dc:creator>chadtatro</dc:creator>
				<category><![CDATA[BlackBerry Jam]]></category>
		<category><![CDATA[BlackBerry Live]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[foursquare]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14931</guid>
		<description><![CDATA[I’m super excited to be presenting three sessions at BlackBerry Jam 2013 in Orlando next week! As a former 3rd party developer I’ve had the chance to attend several BlackBerry events over the past couple of years. Now that I’m working on the Developer Relations team I’ve got the opportunity to not only attend these [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14931&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://rimdevblog.files.wordpress.com/2013/05/chadchadchad.png"><img class="aligncenter size-full wp-image-14940" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/05/chadchadchad.png?w=500&#038;h=295" width="500" height="295" /></a></p>
<p>I’m super excited to be presenting three sessions at <a href="http://www.blackberryjamconference.com" target="_blank">BlackBerry Jam 2013</a> in Orlando next week! As a former 3<sup>rd</sup> party developer I’ve had the chance to attend several BlackBerry events over the past couple of years. Now that I’m working on the Developer Relations team I’ve got the opportunity to not only attend these awesome events, but also present some killer content to my developer friends!</p>
<p>Here’s what I’ll be doing next week:</p>
<p>Are you building an app which requires a solid database of venues, and an amazingly easy API to interact with? Myself, Erin Rahnenfuehrer, and Kyle Fowler of Foursquare will be presenting <a href="https://bblive.blackberryconferences.net/2013/connect/sessionDetail.ww?SESSION_ID=1760" target="_blank">JAM37</a>, “Building context-aware applications by leveraging the power of Foursquare APIs”.</p>
<p>Looking to make to most out of your app by connecting it with all the big name social networks like Foursquare, Twitter, Facebook, and LinkedIn? Again, myself, Erin Rahnenfuehrer, and Kyle Fowler will be presenting <a href="https://bblive.blackberryconferences.net/2013/connect/sessionDetail.ww?SESSION_ID=2718" target="_blank">JAM52</a>, “Get Social: Connecting your app to Facebook, Twitter, Foursquare, and more!”.</p>
<p>Are you trying to make the most out of your BlackBerry World app reports? Jerome Carty, the creator of Blaq, and I will present an in-depth look at how to measure the success of your app using BlackBerry World Reports, and enhancing them with Distimo Analytics.</p>
<p>Which sessions are you looking forward to the most?  Let me know on Twitter (@<a href="http://twitter.com/chadtatro" target="_blank">chadtatro</a>), and I’ll see you in Orlando!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14931/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14931/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14931&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/05/he-said-chad-on-leveraging-the-power-of-foursquare-in-blackberry-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fb86e7b2b71616806266b535686102c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ctetreault1980</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/05/chadchadchad.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry 10 and Ludus HTML5 Platformer Engine</title>
		<link>http://devblog.blackberry.com/2013/04/ludus-blackberry10/</link>
		<comments>http://devblog.blackberry.com/2013/04/ludus-blackberry10/#comments</comments>
		<pubDate>Fri, 26 Apr 2013 13:02:13 +0000</pubDate>
		<dc:creator>Erik O.</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[Ludum Dare]]></category>
		<category><![CDATA[Ludus]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14816</guid>
		<description><![CDATA[Looking for a *simple* #html5 PLATFORMER engine (mario, sonic, metroidvania)? GUI, particles, 60fps, sfx+ mcfunkypants.com/ludus/ #LD48 #1gam — Christer Kaitila (@McFunkypants) April 23, 2013 A few days ago, Christer Kaitila (better known as @McFunkypants to some) dropped news regarding the HTML5 based platformer engine called Ludus. Initially, I was a little disheartened as it appeared [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14816&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<blockquote class="twitter-tweet"><p>Looking for a *simple* <a href="https://twitter.com/search/%23html5">#html5</a> PLATFORMER engine (mario, sonic, metroidvania)? GUI, particles, 60fps, sfx+ <a title="http://www.mcfunkypants.com/ludus/" href="http://t.co/pgoengfvbW">mcfunkypants.com/ludus/</a> <a href="https://twitter.com/search/%23LD48">#LD48</a> <a href="https://twitter.com/search/%231gam">#1gam</a></p>
<p>— Christer Kaitila (@McFunkypants) <a href="https://twitter.com/McFunkypants/status/326729503088996352">April 23, 2013</a></p></blockquote>
<p>A few days ago, Christer Kaitila (better known as <a href="https://twitter.com/McFunkypants">@McFunkypants</a> to some) dropped news regarding the HTML5 based platformer engine called Ludus. Initially, I was a little disheartened as it appeared the engine was targeted solely towards the Windows 8 platform, a peculiar thing for an engine that leverages cross platform technology. I was delighted to find this was not actually the case and that Ludus is in fact crafted in the true open spirit of the web.</p>
<p>Armed with this knowledge, I wanted to get a sense of how the engine performed on BlackBerry 10, and proceeded to build both of the sample applications, Rubba Rabbit and Gwendolynn, with our BlackBerry 10 WebWorks SDK.</p>
<div id="attachment_14819" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/04/ludus1.png"><img class="size-full wp-image-14819" style="border:1px solid black;margin:2px;" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/04/ludus1-e1366978794871.png?w=600&#038;h=360" width="600" height="360" /><p class="wp-caption-text"><br />
<span id="more-14816"></span><br />
</a> <em>Rubba Rabbit running on a BlackBerry Z10. Not Pictured: The funkiest of sound tracks.</em></p></div>
<p>As the engine revolves around HTML5 technologies, the sample projects were already 90% of the way to being BlackBerry 10 applications. One missing component was the <b>config.xml</b> file which is leveraged during packaging to specify various components (application name, author, icon images, etc.) To simplify the process, I leveraged the <a href="http://www.bitoutsidethebox.com/configgen/">BlackBerry WebWorks config.xml generator</a> by Nuno Donato <a href="https://twitter.com/nunodonato">(@nunodonato</a>). I was even able to set an appropriate icon and splash screen thanks to the image resources included with each project.</p>
<p>In fact, that’s another thing that’s pretty awesome about Ludus. If you visit the <a href="http://wootstudio.ca/win8platstarter">Woot Studio</a> landing page, you’ll get a lot of good information, a behind the scenes look at the two samples, and something many game developers treasure: <b>Free Game Art</b>. Currently there are three themes (Outer Space, Steam Punk, and Zombie) ranging across a number of categories (characters, weapons, effects, etc.)</p>
<div id="attachment_14821" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/04/ludus2.png"><img class="size-full wp-image-14821" style="border:1px solid black;margin:2px;" alt="ludus2" src="http://rimdevblog.files.wordpress.com/2013/04/ludus2-e1366978915879.png?w=600&#038;h=360" width="600" height="360" /></a><p class="wp-caption-text"><em>Gwendolynn running on a BlackBerry Z10; satisfying my passion for looting and jumping.</em></p></div>
<p>With my <b>config.xml</b> files in hand and making no changes to the actual sample project files, the next step was to leverage the <a href="http://developer.blackberry.com/html5/documentation/getting_started_with_ripple_1866966_11.html">Ripple tools</a> in packaging the HTML5 resources into a BlackBerry 10 application. Once packaged, I had a signed BlackBerry 10 application (BAR file) that I then deployed to both a BlackBerry Z10 and BlackBerry Q10.</p>
<p>Overall the process took maybe ten minutes download-to-deployment. For developers that don’t have a BlackBerry 10 WebWorks environment set up, there are a few things you will need for an initial setup:</p>
<p>1)      Download and install <a href="http://developer.blackberry.com/html5/download/">the BlackBerry 10 WebWorks SDK</a>.</p>
<p>2)      Request and install <a href="http://developer.blackberry.com/html5/documentation/signing_setup_bb10_apps_2008396_11.html">BlackBerry 10 Code Signing keys</a>.</p>
<p>3)      Leverage the command line or Ripple to <a href="http://developer.blackberry.com/html5/documentation/signing_your_bb10_app_2008398_11.html">package your HTML5 project</a>.</p>
<p>Following this, creating BlackBerry 10 applications from your existing (or new) HTML5 projects down the line will take no time at all.</p>
<p><b>Some Things That Made Me Smile</b></p>
<p>One of the things that I was really happy to see was that I was able to deploy the same packaged application (BAR file) to both the BlackBerry Z10 and BlackBerry Q10 without modification. The game resources scaled well and both applications were playable on both devices.</p>
<p>In fact, on the BlackBerry Q10, I was very pleased to see that the <b>WASD</b> and <b>space bar</b> controls worked right out of the box! This left me with both touch screen <b>and</b> keyboard control options on the BlackBerry Q10 where screen real estate is more limited than the full touch BlackBerry Z10.</p>
<p>Aside from a few hiccups, performance was great, averaging approximately 55 frames per second. The fact that I didn’t need to change any code for my initial deployment was just icing on the cake.</p>
<p><b>Some Things to Look Out For</b></p>
<p>On a whole I’m very pleased with my initial look at the Ludus engine, but there were a few things that came up that developers may want to keep in mind. The first thing I noticed was that <b>pinch to zoom</b> was permitted, meaning if I was interacting with the touch screen, two controls at a time, occasionally the screen would rescale instead of processing my touch events. Luckily, we’re able to set the <b>&lt;meta&gt;</b> <b>viewport</b> element to disable user-scaling and there is a Knowledge Base article on <a href="http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-set-up-the-viewport-for-a-BlackBerry-WebWorks-application/ta-p/1943807">how to accomplish this for BlackBerry 10</a>.</p>
<p>Related to the above, there were a few instances where the screen resized which forced the application into a paused state. This appeared related to how the screen coordinates were being interpreted following the scaling and the pause button located in the center of the screen was inadvertently being “interacted with”. With the above viewport modification though, this issue went away.</p>
<p>Finally, I did notice a slight stutter on occasion if I was collecting multiple items at once. As best as I could tell, this was related to 3-4 sounds playing simultaneously on top of the background music. Once the Web Audio API lands in BlackBerry 10, we’ll be able to do a whole lot more.</p>
<p>That being said, the good <b>far outweighs</b> the above, and we have gameplay videos to prove it. Here we have a BlackBerry Z10 and BlackBerry Q10 playing both Rubba Rabbit and Gwendolynn.</p>
<p align="center"><b><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/LcMpZyjMW2o?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></b></p>
<p>All in all Ludus is looking to be a very promising platformer engine and I’m excited to see what the HTML5 community does with it. The next steps are to dive into a project of my own to get a sense for the actual development process; I’m looking forward to it already. If you’re doing any development yourself, or have any questions about the BlackBerry 10 aspect, I want to your feedback and insight! Don’t hesitate to reach out via Twitter (<a href="mailto:@WaterlooErik">@WaterlooErik</a>) or email (<a href="mailto:eoros@blackberry.com">eoros@blackberry.com</a>).</p>
<p>Lastly, a big thank you to <a href="http://wootstudio.ca/">Woot Studio</a>, <a href="http://mcfunkypants.com/">McFunkypants</a> and <a href="http://plexipixel.com/">PlexiPixel</a> for their contribution to the HTML5 community with this project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14816/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14816/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14816&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/ludus-blackberry10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0788073ae3c85a2b7e415fa106832a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eoros</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/ludus1-e1366978794871.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/ludus2-e1366978915879.png" medium="image">
			<media:title type="html">ludus2</media:title>
		</media:content>
	</item>
		<item>
		<title>Built For BlackBerry – WebWorks “Bootstrap” Sample v1 released!</title>
		<link>http://devblog.blackberry.com/2013/04/webworks-bootstrap-sample-v1/</link>
		<comments>http://devblog.blackberry.com/2013/04/webworks-bootstrap-sample-v1/#comments</comments>
		<pubDate>Thu, 25 Apr 2013 20:00:27 +0000</pubDate>
		<dc:creator>chadtatro</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[bbUI]]></category>
		<category><![CDATA[BFB]]></category>
		<category><![CDATA[Built for BlackBerry]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14809</guid>
		<description><![CDATA[Building great BlackBerry 10 WebWorks app just got easier! The other day I released a new sample app on our BlackBerry GitHub repository which gives you a push in the right direction to quickly build a “Built for BlackBerry” designated application. So what is a Built for BlackBerry app? In a nutshell, a BFB app [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14809&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Building great BlackBerry 10 WebWorks app just got easier! The other day I released a new sample app on our <a href="https://github.com/blackberry/BB10-WebWorks-Samples" target="_new">BlackBerry GitHub repository </a>which gives you a push in the right direction to quickly build a “Built for BlackBerry” designated application.</p>
<p>So what is a <a href="https://developer.blackberry.com/builtforblackberry/" target="_new">Built for BlackBerry</a> app? In a nutshell, a BFB app is an application which is designed from start-to-finish to be awesome in performance, looks, and functionality. Apps which apply for, and pass, the Built For BlackBerry program tell users that this app meets BlackBerry’s high standards for quality and performance.</p>
<p>My latest sample app was created to give you a head start in achieving the BFB designation, allowing you to focus more of your time on the functionality of your app, rather than the actual UI and setup. It’s simply a starting point/blank slate for you to work with and customize.</p>
<p><span id="more-14809"></span></p>
<p>I’ve incorporated all of the features we look for in a Built For BlackBerry app. Right out of the box you’ll have an application that meets the BlackBerry 10 UI guidelines, connects to BlackBerry Messenger and to the Share Framework. There are also several other features including: App Menu (swipe down), Toasts, Window Covers, and device specific Splash Screens. I’ve even included CSS media queries to show you how to style your app on a Z10 vs. Q10 with CSS!. This will allow you to quickly customize this “boiler-plate” to meet your own needs and focus on the content of your app rather than getting the “right” look.</p>
<p>Check-out the application <a href="https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/Built-For-BlackBerry" target="_new">over at GitHub</a>.</p>
<p>If you find this sample useful, have any questions, or just want to keep up-to-date on the world of BlackBerry WebWorks and HTML5, <a href="https://twitter.com/chadtatro" target="_new">follow me on Twitter</a>!</p>
<p><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/chad1.jpg?w=175" /> <img alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/04/chad2.jpg?w=175&#038;h=292" width="175" height="292" /> <img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/chad3.jpg?w=175" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14809/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14809/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14809&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/webworks-bootstrap-sample-v1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0fb86e7b2b71616806266b535686102c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ctetreault1980</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/chad1.jpg?w=175" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/chad2.jpg?w=175" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/chad3.jpg?w=175" medium="image" />
	</item>
		<item>
		<title>WebWorks training sessions in Milan and Madrid – Sign Up Now!</title>
		<link>http://devblog.blackberry.com/2013/04/webworks-training-sessions-in-milan-and-madrid-sign-up-now/</link>
		<comments>http://devblog.blackberry.com/2013/04/webworks-training-sessions-in-milan-and-madrid-sign-up-now/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 18:24:02 +0000</pubDate>
		<dc:creator>Alex Kinsella</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[developer training]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[web works]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14792</guid>
		<description><![CDATA[Guest post from Marysia Wiltshire We’re offering developers in Milan, Italy and Madrid, Spain the chance to visit our local Tech Centres and spend a day with us learning about developing applications for BlackBerry 10 using the BlackBerry 10 WebWorks SDK. If you are an HTML5 /Javascript/CSS developer and want to leverage your existing skills to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14792&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><em>Guest post from Marysia Wiltshire</em><br />
<img class="aligncenter size-full wp-image-14474" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/04/gd-2-e1364997578556.jpg?w=600&#038;h=338" width="600" height="338" /></p>
<p>We’re offering developers in Milan, Italy and Madrid, Spain the chance to visit our local Tech Centres and spend a day with us learning about developing applications for BlackBerry 10 using the BlackBerry 10 WebWorks SDK.</p>
<p>If you are an HTML5 /Javascript/CSS developer and want to leverage your existing skills to create BlackBerry 10 apps, then this is the course for you.</p>
<p>We have full day instructor led course, free of charge, running in Madrid on 9<sup>th</sup> May and Milan on 21<sup>st</sup> May in our respective Tech Centres. You will create, compile, package and deploy on your own system during the hands on labs.</p>
<p>After attending this course you should be able to:</p>
<ul>
<li>Describe the current technical landscape as it relates to BlackBerry application development</li>
<li>Set up a development environment in order to create BlackBerry 10 WebWorks applications</li>
<li>Create, compile, and package BlackBerry 10 WebWorks applications</li>
<li>Deploy and test BlackBerry 10 WebWorks applications</li>
</ul>
<p>To find out more and to register please visit <a href="http://www.gpxs.net/en/courses?v=27000103">http://www.gpxs.net/en/courses?v=27000103</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14792/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14792/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14792&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/webworks-training-sessions-in-milan-and-madrid-sign-up-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d0e94a7e96e80d5911732d43f31a39c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Alex K.</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/gd-2-e1364997578556.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>New BlackBerry Certified Builder Program Recognizes Developer Expertise</title>
		<link>http://devblog.blackberry.com/2013/04/blackberry-certified-builder/</link>
		<comments>http://devblog.blackberry.com/2013/04/blackberry-certified-builder/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 18:42:25 +0000</pubDate>
		<dc:creator>lgazzola</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[application development]]></category>
		<category><![CDATA[BlackBerry Certified Builder]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14664</guid>
		<description><![CDATA[We’re excited that the BlackBerry Certified Builder program has launched! If you have expertise in Web/HTML5 or native application development for the BlackBerry platform, then you’ll want to keep reading to understand all the benefits that this program offers you. To achieve the BlackBerry Certified Builder designation, you must pass a thorough exam designed to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14664&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/blackberrybuilderblog1.jpg?w=450" /></p>
<p>We’re excited that the BlackBerry Certified Builder program has launched! If you have expertise in Web/HTML5 or native application development for the BlackBerry platform, then you’ll want to keep reading to understand all the benefits that this program offers you.</p>
<p>To achieve the BlackBerry Certified Builder designation, you must pass a thorough exam designed to test your knowledge in either Web/HTML5 or native application development. Once you pass the exam and earn your BlackBerry Certified Builder designation, it’s yours to use as you choose to show that you have successfully met BlackBerry’s high standards for development quality, skill, and knowledge.</p>
<p><span id="more-14664"></span></p>
<h3><strong>Getting Certified</strong></h3>
<p>You need to write an exam to become a BlackBerry Certified Builder. There are two streams:</p>
<ol>
<li><strong>BlackBerry Certified Builder for Web</strong> &#8211; This is for those developing Web applications using the BlackBerry 10 WebWorks Software Development Kit.</li>
<p></p>
<p><a href="http://developer.blackberry.com/blackberrybuilder" target="_new">Review the guidelines</a> to see if you’re a candidate for this certification.</p>
<li><strong>BlackBerry Certified Builder for Native</strong> &#8211; This is for those developing applications using the BlackBerry 10 Native Software Development Kit and Cascades UI framework.</li>
<p></p>
<p><a href="http://developer.blackberry.com/blackberrybuilder" target="_new">Review the guidelines</a> to see if you’re a candidate for this certification.</p>
</ol>
<p>We have links to resources on our BlackBerry Certified Builder website to help you get ready for the exam. Check them out <a href="http://developer.blackberry.com/blackberrybuilders/prepare/" target="_new">here</a>.</p>
<p>You can take the BlackBerry Certified Builder exam at one of the designated test centers of our certification vendor, Prometric. They have hundreds of test center locations around the world so you should be able to find one in your region. Visit the <a href="https://www.prometric.com/en-us/Pages/home.aspx" target="_new">Prometric website</a> to find a location near you, search for seat availability, and schedule or cancel exams.</p>
<p>If you want to know more about the logistics of writing the exam, finding out results, or exam retakes and security &#8211; you can check out the <a href="http://developer.blackberry.com/blackberrybuilders/overview/terms.html" target="_new">Terms and Conditions</a>.</p>
<h3><strong>Benefits and perks</strong></h3>
<p>Anyone who successfully earns their BlackBerry Certified Builder designation will have access to an icon they can use as a quick visual to let employers, colleagues, and the developer community know they are certified.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14664/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14664/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14664&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/blackberry-certified-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5deb68ad29db96467a20476cf2b9b8c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lgazzola</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/blackberrybuilderblog1.jpg?w=450" medium="image" />
	</item>
		<item>
		<title>Clearbridge Mobile and the USA Today on BlackBerry 10</title>
		<link>http://devblog.blackberry.com/2013/04/clearbridge-mobile-and-the-usa-today-on-blackberry-10/</link>
		<comments>http://devblog.blackberry.com/2013/04/clearbridge-mobile-and-the-usa-today-on-blackberry-10/#comments</comments>
		<pubDate>Thu, 04 Apr 2013 14:25:48 +0000</pubDate>
		<dc:creator>Anzor B.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Backbone]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[mobile web development]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Require]]></category>
		<category><![CDATA[USA Today]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14491</guid>
		<description><![CDATA[I’ve worked very closely with Clearbridge Mobile Inc. &#8211; the developers of USA TODAY for BlackBerry 10 and we could not be more pleased with the outcome. This application is a favorite among BlackBerry 10 users and maintains a solid five star rating in BlackBerry World with a range of fantastic reviews: “A beautiful use [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14491&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I’ve worked very closely with <a href="http://www.clearbridgemobile.com/" target="_new">Clearbridge Mobile Inc.</a> &#8211; the <a href="http://www.clearbridgemobile.com/" target="_new">developers</a> of USA TODAY for BlackBerry 10 and we could not be more pleased with the outcome. This application is a favorite among BlackBerry 10 users and maintains a solid five star rating in BlackBerry World with a range of fantastic reviews:</p>
<p><i>“A beautiful use of the BlackBerry 10 technology.”</i></p>
<p><i>“An absolutely amazing app. Well done.</i></p>
<p>Many of these reviews refer to USA TODAY as a Native app – in fact, some encourage Native developers to produce apps of this quality – especially impressive as it is a 100% HTML5 WebWorks app.</p>
<p><i>“Great Native App. Very addictive as you can easily navigate through the menu”</i></p>
<p><i>“Watch and learn, that’s how you make a native app”</i></p>
<p><i>“Must have. Go native or go home!”</i></p>
<p>USA TODAY is a perfect example of what can be achieved using HTML5 and the powerful BlackBerry 10 WebWorks Platform to produce an app that proudly carries the Built for BlackBerry ribbon.</p>
<p><span id="more-14491"></span></p>
<h3><strong>Performance</strong></h3>
<p>Performance was critical to USA TODAY &#8211; news, sports, weather, pictures and video sections are combined into a responsive, intuitive viewing experience. Each section contains subsections, while each subsection contains lists and grids of articles. With this much content, view management becomes quite difficult. Having worked closely with Backbone.js (<a href="http://backbonejs.org/" target="_neW">http://backbonejs.org</a>) for a few years, I did not hesitate to recommend it to be the ‘backbone’ of the USA TODAY application.</p>
<p>Backbone.js is a MVC (Model-View-Controller) framework that provides the tools and discipline to write de-coupled, re-usable code while not imposing any non-standard syntax. It is also highly customizable, which is ideal for large projects.</p>
<p>The USA TODAY application uses Backbone.js to its full potential. Articles, gallery, weather, videos, and other data are stored as Data Models and Collections, which are passed to views that combine the data with HTML templates to display it on the screen.</p>
<p>A View is a JavaScript object that contains a set of properties and methods responsible for displaying a region of the application UI. The View also maintains its own DOM structure, which is typically compiled with data to render and display on the screen. HTML templates are code snippets that are re-used across an application. These templates may vary from static pieces of UI to complex dynamic views that contain logic such as loops.</p>
<p>These views are also responsible for listening for changes in the data of the collections and updating regions of UI when a change occurs. Picture the weather section for example: if the weather data on the server changes, we need to update the UI. In order for the UI to reflect the change in the weather and change the graphic from cloudy to sunny, the data model can explicitly tell the view to update, but by doing so, the view becomes tightly coupled with the data model. If we were to add a weather widget to the main screen of the application – we are also required to add a call its update methods from within the data model and so on.</p>
<p>Backbone and other MVC frameworks encourage the use of Publish/Subscribe programming pattern, where views subscribe to changes on the data model. When the data changes on the server, subscribed views receive a change notification, which typically triggers an update of UI. The data model does not need to be aware of what views are subscribed, and therefore remains flexible and de-coupled. This is very similar to how we bind to click events on buttons &#8211; imagine having to change the button’s logic to call functions, versus listening for click events.</p>
<p>This pattern also allows for smaller UI region updates. For example, we can bind a function to only update the current weather UI region, if the weather for the week hasn’t changed. Smaller UI updates result in smaller re-render regions, which drastically improve performance, especially when targeting mobile.</p>
<p>The USA TODAY application uses this pattern throughout the application, which makes UI updates efficient and seamless.</p>
<h3><strong>Code organization</strong></h3>
<p>As the complexity of any application increases, organizing code into modules becomes a necessity. Unfortunately, JavaScript does not natively satisfy all use cases for ‘modules’ yet, so USA TODAY relies on Require.js (<a href="http://requirejs.org/" target="_new">http://requirejs.org</a>) to separate code into neatly organized modules that are confined to performing a single task. Require.js supports Asynchronous Module Definition (AMD), that allows modules to be loaded as needed at run-time, rather than making them available as the application initializes using tags. Require also adds the ability to define dependencies, similar to more traditional languages such as C++ and Java. This ensures required scripts or templates are available to the module when it is initialized. This also means fewer name conflicts, as libraries and functions are defined in the scope of the module rather than globally, as with the tag.</p>
<p>The source code for USA TODAY is inside an intuitive folder structure. Views, collections, models and templates are separate. Logic, structure and styles are separated into JavaScript, HTML and CSS respectively, which is a great practice for all HTML5 developers. This allows for easy maintenance and debugging as well as adding of new features, while maintaining stability. Modules can be swapped in and out, as they are designed to be de-coupled from one another, and communicate with each other using a router and URL hashchanges.</p>
<h3><strong>UI/UX decisions</strong></h3>
<p>Aside from great performance, USA TODAY offers stunning native looking graphics and transitions that make it shine as a <a href="http://developer.blackberry.com/builtforblackberry/" target="_new">Built for BlackBerry</a> App.</p>
<p>The menu, action bar and all other UI elements were made from scratch to closely mimic their native counterparts. They’ve closely followed our UI guidelines, including colors, graphics, sizes that make this application practically indistinguishable from a native BlackBerry 10 application.</p>
<p>(<a href="http://developer.blackberry.com/devzone/design/bb10/application_structure.html" target="_new">http://developer.blackberry.com/devzone/design/bb10/application_structure.html</a>).</p>
<p><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/usatoday1.jpg?w=250" /> <img alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/04/usatoday2.jpg?w=250&#038;h=416" width="250" height="416" /></p>
<p>When viewing an article, frequently used actions such as font size and share are located on the action bar, which is very intuitive to both existing BlackBerry 10 users as well as those new to the platform.</p>
<p>Within the article, USA TODAY allows navigating back and forth using swipe gestures. This allows the reader to navigate through a list of articles without ever leaving the article view &#8211; a fantastic UX decision that keeps the user immersed in the experience, which is one of the core promises of the BlackBerry 10 platform.</p>
<p>Using the font action, readers can quickly modify the font-size, which is a key feature in any news reader app.</p>
<p>The main menu reveals itself as the content view slides out in a smooth transition, thanks to hardware accelerated CSS3 animations. There is lots of attention to detail here &#8211; transitions are timed in way that they don’t interfere with each other, such as the gentle fading out of the content view to focus on the menu, which is done right after the menu is fully revealed, as to not interfere with the sliding animation resulting in a smooth transition.</p>
<p>The main menu is a great example of how to provide intuitive, easy to use navigation for an application that includes a ton of sections and sub-sections. It is also an excellent example of how developers can extend our UI guidelines to enhance the User Experience further. Unlike other BlackBerry 10 Applications, the menu contains sections as well as sub-sections, which adds a great personal touch to the user interface and makes an excellent use of space from a User Experience perspective.</p>
<p>Within ‘Day in Pictures’, clicking on a photograph reveals slideshow mode. Using WebWorks API, device orientation is rotated to landscape and photos are displayed and scrolled in widescreen HD. Tapping on the photo will reveal the header, description and action bar, which fades away in a few seconds – another example of attention to detail. Navigating between photos is done by swiping gestures very much like in the native Pictures app for BlackBerry 10.</p>
<p>(API here: <a href="https://developer.blackberry.com/html5/apis/blackberry.app.html#.rotate" rel="nofollow">https://developer.blackberry.com/html5/apis/blackberry.app.html#.rotate</a>)<br />
<img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/usatoday3.jpg?w=500" /></p>
<h3><strong>Service Integration</strong></h3>
<p>Each article displays a share icon on the action bar, which integrates with the BlackBerry 10 Share framework to display all available media where the article may be shared. The USA TODAY application makes use of the invoke WebWorks API to query the device and return a list of all applications that can be used to share content.</p>
<p>(API here: &lt;a href=&#8221;<a href="https://developer.blackberry.com/html5/apis/blackberry.app.html#.rotate" target="_new">https://developer.blackberry.com/html5/apis/blackberry.invoke.html#.query</a>&#8221; target=&#8221;_new&#8221;&gt;<a href="https://developer.blackberry.com/html5/apis/blackberry.invoke.html#.query" rel="nofollow">https://developer.blackberry.com/html5/apis/blackberry.invoke.html#.query</a>)</p>
<h3><strong>Conclusion</strong></h3>
<p>When starting a new HTML5 project, developers have a plethora of frameworks to choose from. Some are used for data and view management alone, while others provide all-in-one solutions, both platform-specific and platform-agnostic. By leaning towards a custom solution with the help of Backbone.js and Require.js, developers at <a href="http://www.clearbridgemobile.com/" target="_new">Clearbridge Mobile Inc.</a> remained completely in control over the performance and user experience from start to finish, resulting in a very responsive and attractive application. They’ve followed our <a href="http://developer.blackberry.com/design/bb10/" target="_new">UI guidelines</a>, integrated platform services and added a personal touch to the user interface. As a result, USA TODAY is a perfect example of how to build a stunning HTML5 application that is truly <a href="http://developer.blackberry.com/builtforblackberry/" target="_new">Built for BlackBerry</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14491/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14491/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14491&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/clearbridge-mobile-and-the-usa-today-on-blackberry-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/39587172e747f6f28b4a6ee4a906be0d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anzorb</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/usatoday1.jpg?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/usatoday2.jpg?w=250" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/usatoday3.jpg?w=500" medium="image" />
	</item>
		<item>
		<title>BlackBerry 10 UI Layout patterns for HTML5 Applications</title>
		<link>http://devblog.blackberry.com/2013/04/blackberry-10-ui-layout-patterns/</link>
		<comments>http://devblog.blackberry.com/2013/04/blackberry-10-ui-layout-patterns/#comments</comments>
		<pubDate>Tue, 02 Apr 2013 15:18:05 +0000</pubDate>
		<dc:creator>Anzor B.</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Absolute]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[Stack]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14452</guid>
		<description><![CDATA[Full source code with comments is available at: https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/UI-Layouts A typical BlackBerry 10 application consists of a number of full-screen views, containing elements (headers, footers, lists, buttons, etc…) that are stacked to take up available screen estate. This article outlines layout techniques that may be used to create such views in HTML5/WebWorks applications, targeting the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14452&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Full source code with comments is available at: <a href="https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/UI-Layouts" target="_new">https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/UI-Layouts</a></p>
<p>A typical BlackBerry 10 application consists of a number of full-screen views, containing elements (headers, footers, lists, buttons, etc…) that are stacked to take up available screen estate.</p>
<p>This article outlines layout techniques that may be used to create such views in HTML5/WebWorks applications, targeting the BlackBerry Z10 and BlackBerry Q10.</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/devblog1.jpg?w=250" /> <img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/devblog-2.jpg?w=250" /></p>
<p>This is a typical vertical stack layout with a header, content and footer. The header and footer typically have a fixed height, while the content section stretches up to fill available space depending on screen size.</p>
<p><span id="more-14452"></span></p>
<ul>
<h3><strong>
<li>Absolute/Fixed layout pattern</li>
<p></strong></h3>
</ul>
<p>The absolute/fixed layout allows developers to position elements anywhere on the screen using x and y coordinates. This is not uncommon in layouts today, and is quite easy to implement as long as the number of root elements (header,content,footer) remains low. The developer is required to provide exact dimensions and positions of all elements so they don’t overlap and appear to be ‘stacked’. As the number of root elements increases &#8211; for example we add a search bar to the root, it’s top value is positioned at (height of header) px, while content top is be positioned at (height of header + height of search bar) px, and so on.</p>
<p>Source with comments here: <a href="https://github.com/anzorb/UI-Layouts/tree/master/absolute" target="_new">https://github.com/anzorb/UI-Layouts/tree/master/absolute</a></p>
<h3><strong>HTML:</strong></h3>
<pre>&lt;body&gt;
    &lt;div id=”container”&gt;
        &lt;header&gt;
             &lt;section id=”search-bar”&gt;&lt;/section&gt;
        &lt;/header&gt;
        &lt;content&gt;&lt;/content&gt;
        &lt;footer&gt;&lt;/footer&gt;
   &lt;/div&gt;
&lt;/body&gt;
&lt;/pre&gt;</pre>
<h3><strong>CSS:</strong></h3>
<pre>/* set all sections to absolute */
body,html,.container{
	width:100%;
	height:100%;
	background: #181818;
	margin:0;
}

/* set all sections to absolute */
header,
.content,
footer{
	position: absolute;
}

/* when absolute, we need to explicitly specify the top and bottom coordinates to fill content in */
.content{
	top:240px;
	bottom:120px;
	width:100%;
	background:#181818;
	/* scrolling properties */
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}

/* common attributes, such as background color and width to stretch to cover the whole screen */
header,
footer{
	background:#bbbbbb;
	width:100%;
}

/* when using absolute, it makes more sense to place the search bar inside of header */
header {
	top:0;
	height: 220px; /* 100 (search bar) + 120 (self) */
}

/* positioned at the bottom of our container */
footer {
	height:120px;
	bottom:0;
}</pre>
<p><strong><span style="text-decoration:underline;">Pros:</span></strong></p>
<p>Cross-platform (works across 100% of mobile and desktop browsers)</p>
<p><strong><span style="text-decoration:underline;">Cons:</span></strong></p>
<p>Developers are required to provide exact measurements, and number of root elements needs to remain low to avoid manual calculations.</p>
<ul>
<h3><strong>
<li>Stack/Flexible layout pattern</li>
<p></strong></h3>
</ul>
<p>Source: <a href="http://www.html5rocks.com/en/tutorials/flexbox/quick/" target="_new">http://www.html5rocks.com/en/tutorials/flexbox/quick/</a></p>
<p>While targeting smartphone applications, developers often need to stack components to take up the available screen height. Header, content and footer sections appear under one another, with the content section flexible and scrollable if its contents overflow the available height. Other elements, such as the search bar can be inserted into the stack, pushing content down and decreasing the height of any flexible regions automatically.</p>
<p>With flex-box, creating a stack layout is easy as it relies on the browser engine to decide how to position and stretch elements to fill the screen. All elements remain relatively positioned which means we are no longer required to provide top or bottom values, and choose which elements have fixed widths and which are to remain flexible.</p>
<p><strong>Please note:</strong> At the time of writing this article, the flex-box standard has split into ‘old’ flex-box and ‘new’ flex-box. The new flex-box standard support is nearly non-existent or broken in most browsers. Although BlackBerry 10 supports both standards &#8211; I chose to focus on the old flex-box in this article for wider browser support. The concept remains the same – flex-box allows stack layouts for web applications.</p>
<p>Source with comments here: <a href="https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/UI-Layouts/box">https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/UI-Layouts/box</a></p>
<h3><strong>HTML</strong></h3>
<pre>&lt;body&gt;
    &lt;div id=”container”&gt;
        &lt;header&gt;&lt;/header&gt;
        &lt;section id=”search-bar”&gt;&lt;/section&gt;
        &lt;content&gt;&lt;/content&gt;
        vfooter&gt;&lt;/footer&gt;
   &lt;/div&gt;
&lt;/body&gt;</pre>
<h3><strong>CSS</strong></h3>
<pre>/* set your container's display to -webkit-box */
.container{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-box-align: stretch;
}

/* setting contents flexibility to 1, ensures that it stretches to fill available space */
.content{
	-webkit-box-flex: 1;
	width:100%;
	background:#181818;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}

/* fixed heights for header and footer */
header,
footer{
	background:#bbbbbb;
	height:120px;
	width:100%;
}
/* OR flexible heights thanks to flex-box
header.flexible{
	height: auto;
}</pre>
<p>The -webkit-box-flex: 1; property is the ratio of how much available space is allocated to the element relative to other elements. So if we wanted to have two content sections on top of one another, taking up the same height while remaining flexible and adapting to available screen space, we can add the same property (webkit-box-flex: 1) to our second content section. Since the ratio is 1:1, both will take up the same room, while stretching as available screen estate increases.</p>
<p>The Stack/Flexible layout also simplifies use cases where headers/footers and other elements need to remain flexible. For example in an application that displays news articles the header displays news articles’ titles and may take up anywhere from a single line to 3 lines vertically. Ideally, especially when using gradient we want the header to stretch as to not truncate the text :</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/dev3.jpg?w=250" /><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/stacking-changes-coming-header.png?w=250" /></p>
<p>Developers can also leverage min-height and max-height to tell the renderer how flexible the header will be. Since header is a child of container, and container is flexible, no other properties are required.</p>
<pre>/* this allows header to grow up to 170px, which allows for the use case discussed above */
header{
	max-height:170px;
	line-height:45px;
}</pre>
<p><strong>Pros: </strong></p>
<p>Truly flexible, no exact dimensions are required.</p>
<p>Offers a ‘stack’ layout model to HTML5 developers, not uncommon among Cascades developers.</p>
<p><strong>Cons: </strong></p>
<p>Confusion over new and old flex-box.</p>
<p>Browser support (not supported in IE and Opera).</p>
<p>*Although a library exists that ports functionality to IE 6-9 and Opera 10</p>
<p><a href="https://github.com/doctyper/flexie">https://github.com/doctyper/flexie</a></p>
<h3><strong>Detecting and adapting to Landscape orientation</strong></h3>
<p>Source code here: <a href="https://github.com/blackberry/BB10-WebWorks-Samples/blob/master/UI-Layouts/box/media-queries.css">https://github.com/blackberry/BB10-WebWorks-Samples/blob/master/UI-Layouts/box/media-queries.css</a></p>
<p>The BlackBerry Z10 screen is 720px wide, which means that we have 720px of screen height to work with when the device is in landscape. It is often good practice to resize certain elements such as the header and/or footer to allow for more content. The following example demonstrates how to use CSS Media Queries to increase the amount of content visible when in landscape:</p>
<p style="text-align:center;"><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/devblog3.jpg?w=300" /></p>
<p>Here’s the CSS that makes this possible.</p>
<pre>@media screen and (orientation:landscape){
     header
     ,footer{
	height:90px;
     }
}</pre>
<p>The Landscape orientation media query is triggered when viewport height is less than viewport width. This means that if the device is in portrait, and we pull up the keyboard, landscape orientation will also get triggered, resulting in the rules above applied even though the device is in portrait. This is because the virtual keyboard causes a decrease in the screen height to a point where screen is a few pixels shorter than it is wide. This may be an issue if for example the footer contains wider buttons in landscape. The user will see the buttons get wider as the virtual keyboard pops-up – not the best User Experience.</p>
<p>One way to tackle this is by adding a width property:</p>
<pre>/* detect landscape orientation and device width of 1280px */
@media all and (orientation:landscape) and (width:1280px){
     header
     ,footer{
	height:90px;
     }
}</pre>
<p>This restricts our rule to only be in effect when the screen width (or innerWidth) is 1280, in other words, only if device is really in landscape.</p>
<p>A number of core BlackBerry 10 Applications allow the virtual keyboard to overlay the action bar. This allows for greater screen estate, especially if the application relies on messaging a lot (think BBM for example).</p>
<p>A good practice is to have a minimum height where all elements are displayed, and if height is smaller, begin to hide the elements to allow for more content.</p>
<p>The virtual keyboard is 413px high in portrait and 274px high in landscape.</p>
<p>Remaining space when the keyboard is up:</p>
<p>1280 – 413 = 867px (portrait 1280&#215;720 or 1280&#215;768)</p>
<p>768 – 274 = 494px (landscape 1280&#215;768)</p>
<p>720 – 274 = 446px (landscape 1280&#215;720)</p>
<p>This means we can target 450px as the minimum height in landscape and 870px in portrait.</p>
<p>Using CSS Media Queries, let’s hide the header and footer if height does not exceed 450px/870px:</p>
<pre>/* hide header and footer when available height is shorter than target */
@media 
all and (max-height:870px) and (max-width: 768px), /* portrait 1280x720 and 1280x768 */
all and (max-height:450px) and (width: 1280px) /* landscape */
{
    header,footer{
		display:none;
	}
}</pre>
<table>
<tbody>
<tr>
<td>Before with VKB up – portrait:</td>
<td>After with VKB up – portrait:</td>
</tr>
<tr>
<td><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/landscape-with-vkb-before.png?w=250" /></td>
<td><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/devblog5.png?w=250" /></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>Before with VKB up – portrait:</td>
<td>After with VKB up – portrait:</td>
</tr>
<tr>
<td><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/devblog6.jpg?w=250" /></td>
<td><img alt="" src="http://rimdevblog.files.wordpress.com/2013/04/devblog7.jpg?w=250" /></td>
</tr>
</tbody>
</table>
<p>CSS Media queries also allow developers to target specific devices, by detecting device height and width. The following rules apply if the device screen is 720&#215;720, making the header and footer shorter to allocate more room to the content section.</p>
<pre>/* detect BlackBerry Q10 and make header and footer shorter for more screen estate  */
@media all and (width:720px) and (height: 720px)
{
    header,
    footer{
            height: 90px;
    }     
}</pre>
<p>Since the BlackBerry Z10 offers 768px of screen height when in landscape, while the Q10 offers 720px, it is often easier to apply the same rules to both, as to provide more content in both cases, without having to maintain two separate sets of rules for each.</p>
<p>Here’s how the above rule can be combined with one mentioned earlier:</p>
<pre>/* detect landscape orientation and Q10 device */
@media 
all and (orientation:landscape) and (width:1280px),
all and (width:720px) and (height: 720px)
{
     header
     ,footer{
	height:90px;
     }
}</pre>
<p>Please note that these CSS queries are designed for the flexible layout model only .There would have to be more rules to make it work with the fixed model, as we are required to provide exact positions changes along with size changes when orientation changes &#8211; another pro for the flexible box model.</p>
<p>In conclusion, it’s worth noting that both code quality and performance improve when leaving the layout tasks to the layout engine (CSS), rather than detecting orientation/screen size using JavaScript and applying classes/style. The stack model has been used by Native developers for quite some time and is finally making a debut to HTML5 and provides an intuitive way to create layouts that adapt across devices with different form factors.</p>
<p>Be sure to check out the full source code here (<a href="https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/UI-Layouts">https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/UI-Layouts</a>) and save it for when you are working on the layout of your next BlackBerry 10 application.</p>
<h3><strong>Sources</strong></h3>
<p>QUICK HITS WITH THE FLEXIBLE BOX MODEL by Paul Irish</p>
<p><a href="http://www.html5rocks.com/en/tutorials/flexbox/quick/" target="_new">http://www.html5rocks.com/en/tutorials/flexbox/quick/</a></p>
<p>Media Queries for Standard Devices</p>
<p><a href="http://css-tricks.com/snippets/css/media-queries-for-standard-devices/" target="_new">http://css-tricks.com/snippets/css/media-queries-for-standard-devices/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14452/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14452/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14452&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/04/blackberry-10-ui-layout-patterns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/39587172e747f6f28b4a6ee4a906be0d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anzorb</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/devblog1.jpg?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/devblog-2.jpg?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/dev3.jpg?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/stacking-changes-coming-header.png?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/devblog3.jpg?w=300" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/landscape-with-vkb-before.png?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/devblog5.png?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/devblog6.jpg?w=250" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2013/04/devblog7.jpg?w=250" medium="image" />
	</item>
		<item>
		<title>Game Developer Conference: In-Booth Sessions</title>
		<link>http://devblog.blackberry.com/2013/03/game-developer-conference-in-booth-sessions/</link>
		<comments>http://devblog.blackberry.com/2013/03/game-developer-conference-in-booth-sessions/#comments</comments>
		<pubDate>Tue, 26 Mar 2013 19:26:20 +0000</pubDate>
		<dc:creator>Pratik S.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[BlackBerry Gaming]]></category>
		<category><![CDATA[Booth]]></category>
		<category><![CDATA[Cocos2d-x]]></category>
		<category><![CDATA[Game Developer Conference]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[gdc]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[Marmalade]]></category>
		<category><![CDATA[sessions]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14340</guid>
		<description><![CDATA[For those who don’t me, my name is Pratik Sapra and I work as a Gaming Consultant on the Developer Relations team at BlackBerry. In my role, I work with game developers on the technical side and help them bring awesome gaming titles to the BlackBerry platform. I am really looking forward to this weeks [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14340&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://www.gdconf.com/"><img class="aligncenter size-full wp-image-14341" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/03/gdc-logo-e1364325384761.png?w=600&#038;h=109" width="600" height="109" /></a></p>
<p>For those who don’t me, my name is <a href="https://twitter.com/pratiksapra" target="_blank">Pratik Sapra</a> and I work as a Gaming Consultant on the <a href="https://developer.blackberry.com/jamcommunity/profiles/devrel.html" target="_blank">Developer Relations</a> team at BlackBerry. In my role, I work with game developers on the technical side and help them bring awesome gaming titles to the BlackBerry platform. I am really looking forward to this weeks Game Developer Conference along with the rest of the BlackBerry gaming crew.</p>
<p><span id="more-14340"></span>In that regard, I am very excited to share that we have a great set of in-booth sessions (Booth 1216) lined up at our GDC booth. We will be presenting a wide range of topics covering everything you need to know about game development on BlackBerry 10. You will be hearing directly from BlackBerry gaming experts on topics including Native Development, Cocos2dx, Unity, Scoreloop and many more. We will be kicking off each day with a general overview session followed by a set of how-to sessions focused on specific topics and technologies. Scroll down below for the full session schedule.</p>
<h2>Wednesday, March 27<sup>th</sup></h2>
<p>10:00 – 10:15AM            Native Game Development on BlackBerry 10</p>
<p>11:00 – 11:15AM            How to set up a native game in under 10 minutes on BlackBerry 10</p>
<p>1:15 – 1:30PM                  How to add gamepad support to BlackBerry 10 games</p>
<p>2:00 – 2:15PM                  How to write an HTML 5/ WebGL game on BlackBerry 10</p>
<p>2:30 – 2:45PM                  How to write an Adobe AIR application on BlackBerry 10</p>
<p>3:00 – 3:15PM                  How to write a multiplatform game on Blackberry 10</p>
<h2>Thursday, March 28<sup>th</sup></h2>
<p>10:00 – 10:15AM            Social Gaming on BlackBerry 10</p>
<p>11:00 – 11:15AM            How to bring your Unity 4 game to BlackBerry 10</p>
<p>1:15 – 1:30PM                  How to port your iOS game to BlackBerry 10, Tips &amp; Tricks</p>
<p>2:00 – 2:15PM                  How to bring your Cocos2dx game to BlackBerry 10</p>
<p>3:00 – 3:15PM                  How to add Leaderboards and Achievements to BlackBerry 10 games using Scoreloop</p>
<h2>Friday, March 29<sup>th</sup></h2>
<p>10:00 – 10:15AM            Building your Gaming Strategy for BlackBerry 10</p>
<p>10:30 – 10:45AM            How to add in-game advertising to BlackBerry 10 games</p>
<p>11:00 – 11:15AM            How to add in-app payment services to BlackBerry 10 games.</p>
<p>1:15 – 1:30PM                  How to package, publish and distribute your BlackBerry 10 game on BlackBerry World</p>
<p>2:00 – 2:15PM                  How to save BlackBerry 10 game state in the cloud</p>
<p>2:30 – 2:45PM                  How to convert, build and debug BlackBerry 10 games with Visual Studio</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14340/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14340&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/03/game-developer-conference-in-booth-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5c7714acaeda7a566baa9545c280c91c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pratiks1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/03/gdc-logo-e1364325384761.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>bbUI.js upgrade required to support BlackBerry 10.1</title>
		<link>http://devblog.blackberry.com/2013/03/bbui-js-upgrade-required-to-support-blackberry-10-1/</link>
		<comments>http://devblog.blackberry.com/2013/03/bbui-js-upgrade-required-to-support-blackberry-10-1/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 20:04:10 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[10.1]]></category>
		<category><![CDATA[bbUI]]></category>
		<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[quality]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=14304</guid>
		<description><![CDATA[Have you published a BlackBerry 10 application that uses bbUI.js?  If so, we have an important message that requires your attention: ensure your application is using bbUI.js version 0.9.6.113 or higher in order to properly support the upcoming version 10.1 of the BlackBerry 10 operating system. It has been discovered that bbUI.js version 0.9.5 has [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14304&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Have you published a BlackBerry 10 application that uses <a href="https://github.com/blackberry/bbUI.js">bbUI.js</a>?  If so, we have an important message that requires your attention: ensure your application is using bbUI.js version 0.9.6.113 or higher in order to properly support the upcoming version 10.1 of the BlackBerry 10 operating system.</p>
<p><a href="http://rimdevblog.files.wordpress.com/2012/05/bbui-1.jpg"><img class="aligncenter size-full wp-image-9170" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/05/bbui-1.jpg?w=500&#038;h=124" width="500" height="124" /></a></p>
<p><span id="more-14304"></span></p>
<p>It has been discovered that bbUI.js version 0.9.5 has a rendering issue when run on BlackBerry 10.1. The device was not being accurately detected and as a result, application content was not being rendered to the screen correctly.</p>
<div id="attachment_14306" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/03/bbui-2.png"><img class="size-full wp-image-14306" alt="bbui-2" src="http://rimdevblog.files.wordpress.com/2013/03/bbui-2-e1364241524775.png?w=600&#038;h=601" width="600" height="601" /></a><p class="wp-caption-text">Issue: Grid &amp; Image List in bbUI.js 0.9.5 running on BlackBerry 10</p></div>
<p>A <a href="https://github.com/blackberry/bbUI.js/commit/bff59fb42a41bd4eced9b48e700fd3b014e59bfd">fix for this issue</a> was applied last month in version 0.9.6 which is <a href="https://github.com/blackberry/bbUI.js/archive/master.zip">available for download</a> from Github. Developers have since been updating their applications and I would encourage you do the same if you haven’t done so already.  A recompile and re-submit of your application to BlackBerry World may be required.  Doing so will ensure that users will continue to enjoy your content, as it was designed, when they upgrade to BlackBerry 10.1. Note: At the time of writing, there is no ETA for when 10.1 will be published.</p>
<p><b>Upgrade Instructions:</b></p>
<ol>
<li><a href="https://github.com/blackberry/bbUI.js/archive/master.zip">Download bbUI.js</a> version 0.9.6.</li>
<li>Replace the bbUI.js and bbUI.css files in your application.</li>
<li>Review the <a href="https://github.com/blackberry/bbUI.js/blob/master/CHANGELOG.md">change Log</a> to confirm whether any feature updates, performance improvements or compatibility changes affect your application.</li>
<li>Recompile using the <a href="https://developer.blackberry.com/html5/">BlackBerry 10 WebWorks SDK</a>.</li>
<li>Test! Use the <a href="https://developer.blackberry.com/html5/download/">Dev Alpha C simulator</a> to preview how your content will appear on BlackBerry 10.1.0.1020.</li>
<li>Once you are happy with the quality of your application, re-submit in <a href="https://appworld.blackberry.com/isvportal/">BlackBerry World</a>.</li>
</ol>
<div id="attachment_14307" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/03/bbui-3.png"><img class="size-full wp-image-14307" alt="bbui-3" src="http://rimdevblog.files.wordpress.com/2013/03/bbui-3-e1364241636918.png?w=600&#038;h=599" width="600" height="599" /></a><p class="wp-caption-text">Fixed: Grid &amp; Image List in bbUI.js 0.9.6 running on BlackBerry 10.1</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/14304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/14304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=14304&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/03/bbui-js-upgrade-required-to-support-blackberry-10-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16f032fc46b780f6d9fa38b24a7f8ff2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adamstan1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/05/bbui-1.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/03/bbui-2-e1364241524775.png" medium="image">
			<media:title type="html">bbui-2</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/03/bbui-3-e1364241636918.png" medium="image">
			<media:title type="html">bbui-3</media:title>
		</media:content>
	</item>
	</channel>
</rss>
