<?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; Ken W</title>
	<atom:link href="http://devblog.blackberry.com/author/kjwallis/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 18:00:36 +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; Ken W</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>On the Move – BlackBerry 10 WebWorks powered by Apache Cordova</title>
		<link>http://devblog.blackberry.com/2013/06/blackberry-10-webworks-apache-cordova/</link>
		<comments>http://devblog.blackberry.com/2013/06/blackberry-10-webworks-apache-cordova/#comments</comments>
		<pubDate>Tue, 11 Jun 2013 10:00:49 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Apache Cordova]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 WebWorks]]></category>
		<category><![CDATA[Cordova]]></category>
		<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[webworks]]></category>
		<category><![CDATA[WebWorks Apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=15300</guid>
		<description><![CDATA[&#160; I am starting to realize that blog writing is similar to any other mental or physical exercise: it takes some time to knock the rust off if you take a break. Given how hard that first sentence was to write, I feel like red dust should be falling out of my ears. My robot [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=15300&#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/06/cali.jpg"><img class="aligncenter size-full wp-image-15301" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/06/cali-e1370897059787.jpg?w=600&#038;h=433" width="600" height="433" /></a></p>
<p>&nbsp;</p>
<p>I am starting to realize that blog writing is similar to any other mental or physical exercise: it takes some time to knock the rust off if you take a break. Given how hard that first sentence was to write, I feel like red dust should be falling out of my ears. My robot vacuum cleaner needs to work harder to earn its keep anyway.</p>
<p>I do have a good excuse for my absence (I am not sure that <a href="http://twitter.com/alexkinsella">Kinsella</a> would agree). My first blog in a little while now comes to you from the sunny shores of Northern California. I have joined the (relatively) small but extremely dedicated contingent of BlackBerry employees fighting the good fight in the Bay Area. The relocation was no small task, let me tell you. Not the least of which was the four day drive from Toronto. I-80 is brutally efficient at getting you from A to B. But for some large segments, it is just brutal. Our dogs were also very efficient at letting us know when our travel day was (or should be) at its end.</p>
<p>But now I am setup here on the west coast, and fully in the middle of yet another move. If you missed <a href="http://www.blackberryjamconference.com/americas">BlackBerry Jam Americas</a> in Orlando last month &#8211; nothing less than a cross-continent move will be accepted as excuse &#8211; you missed a very important <a href="http://active.mediasite.com/mediasite/Play/df825a54-e772-4559-acd9-9db3e317482f">BlackBerry 10 WebWorks roadmap session</a> where we discussed the move of BlackBerry 10 WebWorks to use Apache Cordova at its core.</p>
<p>Fundamentally, the web is cross platform. While it is certainly not write-once/run-everywhere, the web does allow for a lot of reuse of code and assets. As mobile browser vendors continue to evolve and implement the various web technology standards, the amount of work to port an application becomes smaller and smaller. We are seeing web-based mobile applications become a much bigger piece of the total app pie. A large part of that is due to the success of Apache Cordova, which is the open source engine that powers Adobe’s Phonegap.</p>
<p>Our goal with BlackBerry 10 WebWorks is to ensure that we embrace the true philosophy of the open web, and empower our development community with the best tools and frameworks available to create rich web-based mobile applications. Moving BlackBerry 10 WebWorks to be based on Apache Cordova is a huge step in this direction and provides many benefits to our development community.</p>
<p>We are building support for BlackBerry 10 right into the core Apache Cordova project. This will allow Adobe PhoneGap developers to easily target BlackBerry 10 alongside other platforms for their mobile applications. BlackBerry 10 platform specific APIs will also be available as plugins for Apache Cordova (e.g. BBM, invocation, etc.)</p>
<p>As the center of gravity for packaged web applications, Apache Cordova garners a lot of attention from tooling and framework communities that will build their solutions to work with Apache Cordova. Having BlackBerry 10 as a core platform in Apache Cordova will help to ensure BlackBerry 10 WebWorks developers will be able utilize these tools as well.</p>
<p>To be clear, there are some differences in how you work with an Apache Cordova based application, specifically in terms of the command line tools, and some API signatures. All existing BlackBerry 10 WebWorks functionality does still exist, but the API signatures might be slightly different. Full documentation and porting guides will be available. The key thing to understand is that we have full compatibility built in. Applications built with an existing BlackBerry 10 WebWorks SDK WILL work on all 10.X code lines and new ones moving forward.  Similarly, apps built with the new Apache Cordova approach will ALSO work on all 10.X code lines.</p>
<p>I am really excited about being part of the Apache Cordova community, and about the benefits and opportunities this will bring for our dedicated BlackBerry 10 WebWorks developers. Stay tuned to this blog and the <a href="http://developer.blackberry.com/html5">developer portal</a> for news on how the move to Apache Cordova progresses.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/15300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/15300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=15300&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/06/blackberry-10-webworks-apache-cordova/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/06/cali-e1370897059787.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry 10 WebWorks &#8211; Time To Get Paid</title>
		<link>http://devblog.blackberry.com/2013/02/blackberry-10-webworks-february/</link>
		<comments>http://devblog.blackberry.com/2013/02/blackberry-10-webworks-february/#comments</comments>
		<pubDate>Wed, 13 Feb 2013 14:29:50 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[bbm]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 WebWorks]]></category>
		<category><![CDATA[blackberry app world]]></category>
		<category><![CDATA[Gold]]></category>
		<category><![CDATA[payment]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[ripple]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[webworks]]></category>
		<category><![CDATA[WebWorks Apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13716</guid>
		<description><![CDATA[Most people like to be rewarded for hard work. There are of course many ways in which people derive reward. Fame. Adoration. Legions of followers on Twitter. Free cookies. But perhaps the most prevalent and obvious is cold, hard cash. With BlackBerry World, there are a number of ways to get money out of your [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13716&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="attachment_13718" class="wp-caption aligncenter" style="width: 610px"><a href="http://rimdevblog.files.wordpress.com/2013/02/money.jpg"><img class="size-full wp-image-13718" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/02/money-e1360714788275.jpg?w=600&#038;h=450" width="600" height="450" /></a><p class="wp-caption-text">“Money” by <a href="http://www.flickr.com/photos/9731367@N02/6988272680/" target="_blank">PTMoney/CC/flickr</a></p></div>
<p>Most people like to be rewarded for hard work. There are of course many ways in which people derive reward. Fame. Adoration. Legions of followers on Twitter. Free cookies. But perhaps the most prevalent and obvious is cold, hard cash.</p>
<p>With BlackBerry World, there are a number of ways to get money out of your investment in your BlackBerry 10 application. Today’s refresh of the BlackBerry 10 WebWorks SDK brings support for our<a href="https://developer.blackberry.com/develop/platform_services/payment.html">Payment Service</a>. The Payment Service allows you to implement in-app purchases, either one-time purchases or subscription-based services. Now you can choose your monetization strategy for your BlackBerry 10 WebWorks application: paid download, freemium, in-app purchases, digital goods, etc.</p>
<p>Check out the <a href="http://developer.blackberry.com/html5/apis/blackberry.payment.html">API reference</a> to get started.  You will immediately notice that there are a few new additions to the API compared to previous implementations in BlackBerry WebWorks, such as cancel subscription.</p>
<p>While payment should be enough to get your excited on its own, we also were able to sneak in some of the final bits of the BBM Social Platform &#8211; namely support for the Profile Box.  The Profile Box is a customizable box for your app that appears in the current user&#8217;s BBM profile. You can use it to broadcast achievements or provide updates. The box contains a list of items, each composed of text and an optional icon. The Profile Box API allows you to manage the items in your app&#8217;s profile box. The API reference for this new API is <a href="http://developer.blackberry.com/html5/apis/blackberry.bbm.platform.self.profilebox.html">here</a>.</p>
<p>One final item that you should be aware of is how popup windows are handled. With this release, the popup blocker is disabled by default.  This means that popups will display in the Child Browser window.  If you wish to enable the popup blocker functionality there is a new parameter that you can pass in config.xml to the “blackberry.app” feature.  For information, see the <a href="http://developer.blackberry.com/html5/documentation/param_element.html">&lt;param&gt; element</a>.</p>
<pre>&lt;feature id="blackberry.app"&gt;
  &lt;param name="popupBlocker" value="enable" /&gt;
&lt;/feature&gt;</pre>
<p>Be sure to <a href="http://developer.blackberry.com/html5/download/sdk">download the latest SDK</a>, and check out the Payment service to see how you can develop a richer monetization strategy for your application.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13716/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13716/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13716&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/blackberry-10-webworks-february/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/02/money-e1360714788275.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>Targeting the BlackBerry Q10 with BlackBerry WebWorks</title>
		<link>http://devblog.blackberry.com/2013/02/blackberry-q10-webworks/</link>
		<comments>http://devblog.blackberry.com/2013/02/blackberry-q10-webworks/#comments</comments>
		<pubDate>Tue, 05 Feb 2013 10:29:23 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[BlackBerry Jam]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry Q10]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[Physical Keyboard]]></category>
		<category><![CDATA[QWERTY]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=13478</guid>
		<description><![CDATA[The excitement of last week’s launch of BlackBerry 10 still hasn&#8217;t worn off around these parts. We feel it in the air. We are at the brink of something new in the world of mobile computing. As you know, we here at BlackBerry have been working tirelessly to get to this point, the global launch of BlackBerry [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13478&#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/02/webworks-q10.png"><img class="aligncenter size-full wp-image-13483" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/02/webworks-q10-e1360060101271.png?w=600&#038;h=600" width="600" height="600" /></a></p>
<p>The excitement of last week’s <a href="http://devblog.blackberry.com/2013/01/blackberry-z10/">launch of BlackBerry 10</a> still hasn&#8217;t worn off around these parts. We feel it in the air. We are at the brink of something new in the world of mobile computing. As you know, we here at BlackBerry have been working tirelessly to get to this point, the global launch of BlackBerry 10.  But the launch of BlackBerry 10 is just the beginning.  There is still so much more to do, and the team here is already starting on the next steps.  The first of these is adding support for the BlackBerry Q10 and its physical keyboard into our <a href="https://developer.blackberry.com/html5/" target="_blank">BlackBerry WebWorks SDK</a> and the <a href="https://developer.blackberry.com/html5/download/" target="_blank">Ripple Emulator</a>.</p>
<p>Luckily, from a WebWorks perspective, everything you need is already on the BlackBerry 10 operating system.  The two major areas where the BlackBerry Q10 and the BlackBerry Z10 are the physical keyboard and the screen size.</p>
<p>For the physical keyboard, the system takes care of handling the input for you and piping it into your app just as if it came from the virtual keyboard on a BlackBerry Z10.  However, the traditional BlackBerry user is also very used to having actions be triggerable from the keyboard when not actually performing text input.  Think of clicking ‘r’ in the Inbox on a BlackBerry OS device in order to trigger a Reply action.  If you wish to provide your user keyboard shortcuts within your application, you can use the standard HTML5 onkeypress event.  Set a listener on the appropriate HTML elements, process the key stroke and trigger the action.</p>
<p>In terms of the screen size, HTML5 standard approaches in responsive design are more than adequate to allow you to layout the UI of your application appropriately in different screen resolutions.  The major difference we have from a system perspective is related to some key User experience decisions made for the smaller screen size, and that the WebWorks platform handles for you.  For example, the context menu on the BlackBerry Z10 automatically triggers an overflow UI if there are more than seven items in the menu.  For the BlackBerry Q10 it will do this for four or more items.  The BlackBerry Q10, due to its OLED display, also uses true black in some UI elements to be more efficient.  These are just some examples, but I want to reiterate that all of this is supported out of the box by the web platform that is part of the latest BlackBerry 10 OS builds, so you will not actually see a BlackBerry WebWorks SDK refresh for BlackBerry Q10 support. There is a BlackBerry WebWorks refresh in the works to add a few new APIs, but we’ll talk about that soon in a different post.</p>
<p>What you will find is a refresh to Ripple to allow you to select the BlackBerry Z10 or the BlackBerry Q10 for emulation when targeting the BlackBerry 10 platform.  This will allow you to emulate and test your layout against the different screen sizes of the devices and ensure your design will work for both devices.  If you already have Ripple installed, you should see an update come in automatically.  If you don’t already have Ripple you can <a href="http://developer.blackberry.com/html5/download/">get it here</a>.  Enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/13478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/13478/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=13478&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/02/blackberry-q10-webworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/02/webworks-q10-e1360060101271.png" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry 10 WebWorks SDK January Refresh</title>
		<link>http://devblog.blackberry.com/2013/01/blackberry-10-webworks-sdk-january-refresh/</link>
		<comments>http://devblog.blackberry.com/2013/01/blackberry-10-webworks-sdk-january-refresh/#comments</comments>
		<pubDate>Fri, 11 Jan 2013 01:02:32 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 WebWorks]]></category>
		<category><![CDATA[blackberry app world]]></category>
		<category><![CDATA[Built for BlackBerry]]></category>
		<category><![CDATA[Gold]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[webworks]]></category>
		<category><![CDATA[WebWorks Apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12974</guid>
		<description><![CDATA[Car Polish / JMR_Photography / CC BY 2.0 Last month we delivered the Gold release of the BlackBerry 10 WebWorks SDK to our development community. This was a huge milestone on the road to launch for BlackBerry 10, allowing our developers to confidently develop, test, and submit their WebWorks applications to BlackBerry World, and to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12974&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:center;"><img class="aligncenter size-full wp-image-12975" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2013/01/gold-paint.jpg?w=360&#038;h=539" width="360" height="539" /></p>
<p style="text-align:center;"><i><a href="http://www.flickr.com/photos/jmrosenfeld/3423241968" target="_new">Car Polish</a> / JMR_Photography / <a href="http://creativecommons.org/licenses/by/2.0/deed.en_CA" target="_new">CC BY 2.0</a></i></p>
<p>Last month we delivered the Gold release of the BlackBerry 10 WebWorks SDK to our development community. This was a huge milestone on the road to launch for BlackBerry 10, allowing our developers to confidently develop, test, and submit their WebWorks applications to BlackBerry World, and to take part in the <a href="http://developer.blackberry.com/builtforblackberry/commitment/" target="_new">Built for BlackBerry</a> program. I am sure all of you have already submitted your apps and are now relaxing by the pool. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Today we are launching a refresh to the WebWorks SDK that brings a number of fixes that, while not required for your application to run on BlackBerry 10, bring a few tweaks and stability improvements. There are two very specific updates addressing some underlying platform changes that COULD mean you will want to repackage an existing application. Let’s look at those first.</p>
<p><span id="more-12974"></span></p>
<p>The concept of Cards in BlackBerry 10 is what really enables the Peek and Flow experience. There are many built-in cards that developers are able to leverage to complete common tasks or integrate with system services, and WebWorks has provided built-in APIs for some of these system cards. One of them is the File picker (<strong>blackberry.invoke.card.invokeFilePicker</strong>). In the gold release, you could provide a list of directories in the FilePickerOptions object, and the standard UI would present a selection list of those folders. This ability was removed from the standard UI. The API has not changed, but we only now look at and use the first entry in the array to seed the UI. So as long as you were not relying on this multi-directory functionality, or if you don’t mind that only the first is considered, then you have no need to repackage your application.</p>
<p>Another update relates to how Contacts are created, or more specifically, what happens when you save a newly created contact using the <strong>blackberry.pim.contacts</strong> API. In the Gold SDK, when you save a contact that you create using <strong>blackberry.pim.contacts.create()</strong>, it will always create a new entry in the device address book. The underlying native implementation changed slightly and will now attempt to merge it with an existing relevant contact entry if it finds one. If you are fine with this behavior, or if it is desirable, then you need to do nothing if you have already packaged with the Gold SDK. Otherwise, in order to preserve the behavior of creating a new contact, you will need to repackage with this latest WebWorks SDK refresh.</p>
<p>That’s it for compatibility concerns &#8211; not so bad. There is one other thing though that you will notice with the latest Dev Alpha update. If you are using the <strong>blackberry.invoke.card.invokeEmailComposer</strong> API, clicking the Send button actually does nothing. This has already been fixed on the native platform and will work at launch. You have no need to repackage your app, either now or later, as the fix is entirely on the device, but just something to be aware of if you use this API and are testing it on the latest Dev Alpha build.</p>
<p>Finally, let’s turn to a couple of the polish items that we have in this refresh. As most of you are probably aware, BlackBerry Balance allows the user to segment their device into multiple perimeters to separate work and personal. The enterprise perimeter can be locked if a password is enabled, and when locked, apps are “locked” as well. In order for you as the developer to know what the current state is, we have introduced events that you can listen for that will tell you when the perimeter locks while your application is open. Check out <strong>blackberry.system.perimeterlocked/perimeterunlocked</strong>.</p>
<p>We have also expanded the Contacts API to include the Accounts information for that contact. Check out the new field <strong>blackberry.pim.contacts.contact.sourceAccounts</strong>.</p>
<p>We recently added the ChildBrowser concept to WebWorks that allows you to support target=”_blank” and window.open in your web content. We also allowed you to disable it. With this release, if you disable the ChildBrowser and use target=”_blank” or window.open to display non-whitelisted content, the result will be opened in the system browser, rather than the user being presented with an access denied dialog.</p>
<p>Context menus and custom contexts have also seen a couple of improvements. When you add your own menu item to the context menu, the callback that is invoked when the menu item is clicked will be passed the id of the content element that the user long-pressed on. You can also now override existing menu items through the <strong>blackberry.ui.contextmenu.additem</strong> method. Just provide the platform action id in the additem call and you can provide your own text, image, and functionality for things like Copy, paste, and so on.</p>
<p>As you can see, unless you use one or two specific items, applications you have already packaged and built are still good to go. But if you do use the contacts API and wish to always create new items as oppose to merge, or if you used the file picker in a specific mode, you will want to repackage and resubmit your applications to BlackBerry World. And be sure to get your applications approved for sale prior to January 21st, and take advantage of the <a href="http://developer.blackberry.com/builtforblackberry/commitment/" target="_new">Built for BlackBerry</a> program. <a href="http://developer.blackberry.com/html5/downloads/sdk" target="_new">Download the gold refresh of WebWorks</a> today to polish up your applications before launch of BlackBerry 10!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12974/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12974/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12974&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2013/01/blackberry-10-webworks-sdk-january-refresh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2013/01/gold-paint.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>Gold Dev Tools Webcast Tomorrow!</title>
		<link>http://devblog.blackberry.com/2012/12/gold-dev-tools-webcast/</link>
		<comments>http://devblog.blackberry.com/2012/12/gold-dev-tools-webcast/#comments</comments>
		<pubDate>Mon, 17 Dec 2012 16:47:57 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[gold build]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[ndk]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[webcast]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12744</guid>
		<description><![CDATA[Everyone loves a good webinar. OK, perhaps that’s an overstatement. Nevertheless, we hear loud and clear that our developer community loves them. The series of webinars we have run throughout the summer in conjunction with each successive SDK release have been extremely successful. So why stop now? Tomorrow &#8211; Tuesday, December 18th – we are [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12744&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter" alt="" src="http://farm9.staticflickr.com/8174/8025132500_e743d59588.jpg" width="500" height="333" /></p>
<p>Everyone loves a good webinar. OK, perhaps that’s an overstatement. Nevertheless, we hear loud and clear that our developer community loves them. The series of webinars we have run throughout the summer in conjunction with each successive SDK release have been extremely successful. So why stop now? Tomorrow &#8211; Tuesday, December 18th – we are bringing you two webinars that will cover all the latest information related to gold release Native and HTML5 SDKs for BlackBerry 10. The launch event date is coming up fast, so head on over to the registration pages and mark your calendars.</p>
<h3><strong>BlackBerry 10 Native SDK</strong></h3>
<p>We will take a quick look at what we have achieved so far with our native SDK. We will then look at the latest and greatest API and tooling features that have arrived in this most recent beta as well as the beta that preceded it. This includes things like advertising, SMS and invocation framework enhancements. Also, for the first time you will get a quick preview of the cards that are available to invoke and how you can invoke them. We will also cover some of the important IDE enhancements that have arrived, including the update manager, a brand new spanking project wizard, and the latest and greatest features that have been added to the Microsoft Visual Studio Plugin.</p>
<p><strong>REGISTRATION:</strong><br />
<a href="http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079239157" target="_new"><br />
http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079239157<br />
</a></p>
<h3><strong>BlackBerry 10 WebWorks SDK</strong></h3>
<p>We&#8217;ll take a look at the latest gold release as well as the most recent beta that preceded it. Starting with a quick overview of BlackBerry WebWorks, we will move to a summary of all of the latest features. We will then dive deeper into some of the more interesting features with a live look at code and functioning samples.</p>
<p><strong>REGISTRATION:</strong><br />
<a href="http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079318388" target="_new"><br />
http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079318388<br />
</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12744/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12744/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12744&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/12/gold-dev-tools-webcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://farm9.staticflickr.com/8174/8025132500_e743d59588.jpg" medium="image" />
	</item>
		<item>
		<title>Solid Gold! Official release of the BlackBerry 10 WebWorks SDK</title>
		<link>http://devblog.blackberry.com/2012/12/blackberry-10-webworks-sdk-official-release/</link>
		<comments>http://devblog.blackberry.com/2012/12/blackberry-10-webworks-sdk-official-release/#comments</comments>
		<pubDate>Tue, 11 Dec 2012 20:39:53 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[WebWorks]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 WebWorks]]></category>
		<category><![CDATA[blackberry app world]]></category>
		<category><![CDATA[Built for BlackBerry]]></category>
		<category><![CDATA[Gold]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[webworks]]></category>
		<category><![CDATA[WebWorks Apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12648</guid>
		<description><![CDATA[DSC04801 / mat79 / CC BY 2.0 Months of planning. More months of development. Re-planning. Long hours. Trips around the world. Meeting with you, our BlackBerry WebWorks development community. It all culminates with this: the gold release of the BlackBerry 10 WebWorks SDK. The team here could not be more stoked to deliver this final [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12648&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-12649" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/12/solid-gold.jpg?w=454&#038;h=348" width="454" height="348" /></p>
<p style="text-align:center;"><i><a href="http://www.flickr.com/photos/matze79/3540152571/" target="_new">DSC04801</a> / mat79 / <a href="http://creativecommons.org/licenses/by/2.0/deed.en_CA" target="_new">CC BY 2.0</a></i></p>
<p>Months of planning. More months of development. Re-planning. Long hours. Trips around the world. Meeting with you, our BlackBerry WebWorks development community. It all culminates with this: the gold release of the BlackBerry 10 WebWorks SDK. The team here could not be more stoked to deliver this final developer milestone on the road to the launch of BlackBerry 10. I apologize for the use of the word “stoked” in the preceding sentence, but I could not help myself. We are REALLY excited.</p>
<p>We recently delivered the <a href="http://devblog.blackberry.com/2012/11/blackberry-10-webworks-sdk-updated/" target="_new">final Beta of the BlackBerry WebWorks SDK</a> in conjunction with our recent BlackBerry Jam Asia conference. With that release we began guaranteeing compatibility of your applications, which was a major milestone. Hopefully you have already started submitting your apps to BlackBerry World for approval and preparing your application to the <a href="http://developer.blackberry.com/builtforblackberry/commitment/" target="_new">Built for BlackBerry</a> program.</p>
<p>Of course, the team has continued to work days &#8211; and many nights &#8211; to ensure this gold release is rock solid. Of course, we also snuck a few new things in.</p>
<p><span id="more-12648"></span></p>
<p>We now have a full house of cards that you can directly invoke from webworks. From the <strong>blackberry.invoke.card</strong> namespace, you can leverage the following new cards on top of the camera and file picker cards we already delivered: calendar picker, calendar composer, email composer, media player, contact picker, and ICS viewer card.</p>
<p>We have also now provided to you the means to leverage the built in invocation selection UI. If you choose to do your own invocation target queries and provide the user with the ability to select the target, you can use the API to present native look and feel selection UI.</p>
<p style="text-align:center;"><img class="aligncenter  wp-image-12663" alt="IMG_00000017" src="http://rimdevblog.files.wordpress.com/2012/12/img_00000017.png?w=461&#038;h=768" width="461" height="768" /></p>
<p>Wallpaper: an interior decoration technique that has happily fallen out of favour (opinions my own and do not reflect those of my employer). But smartphone users love setting the wallpaper of their device. Allow the user to set the wallpaper from your BlackBerry WebWorks app:</p>
<pre>blackberry.system.setWallpaper(pathToImage);</pre>
<p>You can now also specify custom contexts in your applications that can be used as a target type for invocation request, and to put custom actions into the context menu.</p>
<pre>&lt;div align="left" data-webworks-context="myContext"&gt;&gt;

   &lt;h4&gt;Local image link: with customContext&lt;/h4&gt;
   &lt;a href="http://www.blackberry.com"&gt;
      &lt;img src="../../img/secretdeviceimage.jpg" width="150" height="350"/&gt;
   &lt;/a&gt;

&lt;/div&gt;</pre>
<p>If the user triggers an invocation – say, as a long-press on any element within the div in the code example above &#8211; the system will pass the “myContext” custom context in the invocation request rather than an image context.</p>
<p>In addition, you will often want the ability to know when your context has been the target of a user-triggered invocation, and do something before the system completes the invocation. In the example above, you might want to add to the invocation request additional relevant information for the “super secret device”. All you need to do is assign a function to the <strong>blackberry.invoke.interrupter</strong> property. This function will be given the invocation request object, and you can return a modified version of the object that will actually be sent on in the invocation request. You may also just want to allow the user to confirm they wish to take this action.</p>
<pre>blackberry.invoke.interrupter = function (request) {          
	if(confirm("System would like to invoke: " + request + " would you like to continue?")) {
              return request;
        } else {
              alert("User canceled invocation");
        }
};</pre>
<p>One of the key user experience items for BlackBerry 10 is the concept of Active Frames. When your application is no longer in the foreground but still running, it gets a placeholder window that by default displays a snapshot of the application when the user put it into the background. With this API, you can customize what is displayed. You can set a different image, as well as specify custom text that will be overlaid onto the image. If you wish, you can also periodically update the cover, or reset it to the snapshot originally taken by the system. Check out the <a href="http://developer.blackberry.com/html5/apis/blackberry.ui.cover.html" target="_new">documentation</a> for more info.</p>
<pre>function onEnterCover() {
    blackberry.ui.cover.setContent( blackberry.ui.TYPE_IMAGE,
        {path: "/path/to/an/image/windowCover.png"} );
    blackberry.ui.cover.labels.push({label: "Label 1",
                                 size: 15,
                                 wrap: false});
    blackberry.ui.cover.setTransition(blackberry.ui.cover.TRANSITION_FADE);
    blackberry.ui.cover.updateCover();
}

blackberry.event.addEventListener("entercover", onEnterCover);</pre>
<p>Even though this is the gold release, we know there are a few things still missing that we are working hard to deliver. The nice thing about BlackBerry WebWorks is that we can expose existing native platform functionality outside of device OS and native SDK updates. Keep an eye on the <a href="http://developer.blackberry.com/html5/download/roadmap/" target="_new">flight boards</a> as we are actively planning maintenance releases to deliver a few more things.</p>
<p>But the gold release is your cue to finish your BlackBerry WebWorks application so that you can leverage the first-mover advantage. Get out in front of the wave and be one of the first applications in BlackBerry World. And be sure to get your applications approved for sale prior to January 21st, and take advantage of the <a href="http://developer.blackberry.com/builtforblackberry/commitment/" target="_new">Built for BlackBerry</a> program. <a href="http://developer.blackberry.com/html5/downloads/sdk" target="_new">Download the gold release</a> of BlackBerry WebWorks and put that final luster on your applications!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12648/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12648/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12648&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/12/blackberry-10-webworks-sdk-official-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

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

		<media:content url="http://rimdevblog.files.wordpress.com/2012/12/img_00000017.png" medium="image">
			<media:title type="html">IMG_00000017</media:title>
		</media:content>
	</item>
		<item>
		<title>The HTML5 key to the doors of BlackBerry World (aka BlackBerry 10 WebWorks SDK Updated)</title>
		<link>http://devblog.blackberry.com/2012/11/blackberry-10-webworks-sdk-updated/</link>
		<comments>http://devblog.blackberry.com/2012/11/blackberry-10-webworks-sdk-updated/#comments</comments>
		<pubDate>Thu, 29 Nov 2012 05:21:03 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10 WebWorks]]></category>
		<category><![CDATA[blackberry app world]]></category>
		<category><![CDATA[Built for BlackBerry]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[webworks]]></category>
		<category><![CDATA[WebWorks Apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12395</guid>
		<description><![CDATA[As we promised a few weeks ago, a BlackBerry® WebWorks™ SDK would be released soon that would have compatibility of applications moving forward. That day has arrived with the latest update to the BlackBerry 10 WebWorks SDK! Applications that are built with this BlackBerry WebWorks SDK will run on the latest delivered BlackBerry® 10 OS [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12395&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-12396" title="TITLE_IMAGE" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/11/html5-toast.jpg?w=400&#038;h=470" height="470" width="400" /></p>
<p><a href="http://devblog.blackberry.com/2012/10/blackberry-10-webworks-sdk-program/" target="_new">As we promised a few weeks ago</a>, a BlackBerry® WebWorks™ SDK would be released soon that would have compatibility of applications moving forward. That day has arrived with the latest update to the BlackBerry 10 WebWorks SDK! Applications that are built with this BlackBerry WebWorks SDK will run on the latest delivered BlackBerry® 10 OS beta version as well as future OS updates.</p>
<p>Note that this does not mean that APIs don’t have the potential to change in the future, and there will certainly be more APIs added &#8211; but an application binary compiled with this SDK will continue to run on future OSes. With this guarantee, you can now build your BlackBerry WebWorks applications and submit them to the BlackBerry App World™ storefront for approval. You can now also apply for the <a href="http://developer.blackberry.com/builtforblackberry/commitment/" target="_new">Built For BlackBerry</a> program before January 21st 2013 to take advantage of our <a href="https://developer.blackberry.com/builtforblackberry/commitment/" target="_new">10k Developer Commitment</a> to developers.</p>
<p>However, no BlackBerry WebWorks release would be complete without some new API additions. We have a ton of great stuff so let’s dive in.</p>
<p><span id="more-12395"></span></p>
<p>Perhaps our biggest addition is the ability to integrate with the Calendar on the device. Create, edit, delete – it’s all there. It also delivers access to all calendars available on the device while of course respecting the work/personal boundary provided by BlackBerry Balance™. Combine this with the Contacts API delivered in the previous release for some very compelling applications that integrate with the BlackBerry 10 integrated PIM story.</p>
<p>Everyone likes toast (well, they should), and BlackBerry 10 has brought a mobile flavor to this breakfast staple with the Toasts notification concept. Toasts are quick, non-blocking notifications to the user that your application has performed some action, which are displayed for a minimal amount of time and then disappear. You can also enhance your toast with butter a button that allows the user to take some action in relation to that toast (eg. a toast that notifies the user that an item was deleted, and provides an Undo action). Check out blackberry.ui.toast for more on this one.</p>
<pre>blackberry.ui.toast.show(“Pass the jam!”, options);</pre>
<p>Now, wouldn’t it be cool if you could have a sensor in your phone that would tell you that your toast is ready before it was burnt? Well, no, we can’t do that (yet). But with this release of BlackBerry WebWorks, you now have access to a whole host of new sensor APIs. Orientation, light, proximity, compass, space-time disturbances; okay, not space-time, but yes on the rest. Leverage these APIs to add some real value into your application based on the device environment.</p>
<pre>
// Create a callback to handle each sensor function compassCallback(sensor, data) {
     alert("Current azimuth: " + data.value); }

// Start listening to the compass sensor with a delay feedback of 1000  blackberry.sensors.setOptions("devicecompass", { delay : 1000 });

// Start the event listener for the sensors callback blackberry.event.addEventListener("devicecompass", compassCallback);
</pre>
<p>In the previous release of BlackBerry WebWorks, we provided a way to lock the orientation of your application by setting a flag in the config.xml. We have now provided a full JavaScript® API that allows you to lock/unlock your application dynamically based on your own logic. There are a few things to note with this change: To have a good JavaScript API signature, we are putting the orientation functionality right on the blackberry.app namespace, but this is out of line with the current config.xml approach of putting the parameter on the blackberry.app.orientation feature. So we have deprecated this, and now you should put orientation in config.xml on the blackberry.app feature. Also, if you do choose to set it in config.xml, that is a constant value that cannot be overwritten by the API &#8211; what you set in config.xml is what you get.</p>
<p>Speaking of config.xml, with this release we have all the pieces in place to allow for full localization of your application, including the display name of your application as well as the description. In the config.xml, you just need to put the localized text inside another element with the xml:lang attribute for the language. Furthermore, all of the built-in UI components are fully localized and reflect the current system language.</p>
<pre>
&lt;widget xmlns="http://www.w3.org/ns/widgets"&gt;
&lt;name&gt;
    The Ultimate Weather Widget
&lt;/name&gt;
&lt;name xml:lang="fr"&gt;
     insérez Françaises ici
&lt;/name&gt;
&lt;/widget&gt;
</pre>
<p>Let’s now take a look at some enhancements made to the underlying BlackBerry WebWorks platform. With this release, we have delivered a number of different optimizations to the runtime initialization process. Lots of highly technical, egghead type stuff. Long story short &#8211; your apps should load a whole bunch faster for your end users. Be sure to get the latest BlackBerry 10 OS build to see the full benefit.</p>
<p>Perhaps even more interesting is the addition of a child web view control. If you have a link in your content with target=”_blank” or use the window.open function, the content will now be loaded in a child web view that looks much like a card and won’t overwrite your current content. The user can then cancel the view to return to the originating page. When you use window.open, you will receive a window object for the child web view. One of the more obvious use cases here is a more seamless method of supporting OAuth for authentication into social networks like Facebook®, foursquare, Twitter®, and so on.</p>
<p>We have also added a new attribute to the element in config.xml that allows you to specify a single HTTP header key-value pair. This HTTP header will be added to every HTTP request sent from your application. This allows your backend system to key off of this header and perform any required customized processing for your app.</p>
<pre>&lt;widget rim:header=”header:Goooallll!”&gt;</pre>
<p>If that wasn’t enough on its own, we have also added a few new tooling features that should make your life a lot easier. First on deck is the ability to pass your application’s root folder into the bbwp tool to package your application. No more requirement to first zip your application content and risk feeling silly when you forget to update your zip file with your latest changes. The packager also supports ignoring folders and files within your application folder hierarchy; just create a “.bbwpignore” file in the root folder and list the folders and files you don’t want to be part of your application packager. The format of this file is essentially the same as the .gitignore file, with one or two very small differences.</p>
<p>Another potential time saver and headache reliever is a new facility that will allow you to forget about ever needing to update the version of the webworks.js file you reference in your app. In your application files, reference the webworks.js file like so:</p>
<pre>&lt;script src=”local:///chrome/webworks.js”&gt;</pre>
<p>The packager tool will include the latest webworks.js into your package and put it at the appropriate location to be loaded.</p>
<p>So there you have it. It is worth reiterating that with this release you can now submit your apps to BlackBerry App World and be assured they will run properly come launch of BlackBerry 10! So submit early so you can get your application approved, and then apply for the <a href="http://developer.blackberry.com/builtforblackberry/commitment/" target="_new">Built For BlackBerry</a> program before January 21st, 2013. No time to waste &#8211; <a href="http://developer.blackberry.com/html5/downloads/sdk" target="_new">grab the SDK today</a>!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12395/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12395&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/11/blackberry-10-webworks-sdk-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/11/html5-toast.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>Update &#8211; Built for BlackBerry and apps built with the BlackBerry 10 WebWorks SDK</title>
		<link>http://devblog.blackberry.com/2012/10/blackberry-10-webworks-sdk-program/</link>
		<comments>http://devblog.blackberry.com/2012/10/blackberry-10-webworks-sdk-program/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 18:06:34 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10 WebWorks]]></category>
		<category><![CDATA[blackberry app world]]></category>
		<category><![CDATA[Built for BlackBerry]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[webworks]]></category>
		<category><![CDATA[WebWorks Apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11843</guid>
		<description><![CDATA[One of the most exciting programs we have in place for mobile developers looking to embrace the opportunities provided by BlackBerry® 10 are the Built for BlackBerry program and the $10k commitment. With these programs, applications that meet a certain set of criteria that are submitted to the BlackBerry App World™ storefront, that are approved [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11843&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>One of the most exciting programs we have in place for mobile developers looking to embrace the opportunities provided by BlackBerry® 10 are the <a href="http://developer.blackberry.com/builtforblackberry/commitment/" target="_new">Built for BlackBerry program and the $10k commitment</a>. With these programs, applications that meet a certain set of criteria that are submitted to the BlackBerry App World™ storefront, that are approved before January 21st, and that are accepted into the Built for BlackBerry program will be guaranteed to make at least $10,000 in the first year, or RIM® will make up the difference.</p>
<p>There has never been a better time to build for BlackBerry. If you are a web developer, building with the <a href="http://developer.blackberry.com/html5" target="_new">BlackBerry 10 WebWorks™ SDK</a> is your path to the Built for BlackBerry program and the $10k commitment.</p>
<p>Now, while BlackBerry App World is accepting application submissions (as of 10/10/2012) for BlackBerry 10, you will want to hold off on submitting your BlackBerry 10 WebWorks applications for just a short while. Using the current publically available BlackBerry 10 WebWorks SDK, you can build, package, and test your application against the current BlackBerry 10 OS builds available in simulators and the BlackBerry 10 Dev Alpha testing device. However, those same applications will not work in upcoming builds of the BlackBerry 10 OS, so your application would be rejected by the BlackBerry App World team.</p>
<p>Unfortunately, unavoidable changes were made in the underlying web runtime that broke compatibility. Have no fear; the development team is hard at work ensuring that the next release of the BlackBerry 10 WebWorks SDK &#8211; <a href="https://developer.blackberry.com/html5/download/roadmap/" target="_new">due in November</a> &#8211; will ensure compatibility moving forward. You will NOT have to change any of your code; this will simply be a repackaging exercise with the new SDK to create an application package that will run correctly on the latest BlackBerry 10 builds.</p>
<p>So hang tight for our next release of the BlackBerry WebWorks SDK &#8211; which in itself has some cool new features that you will love &#8211; and then get submitting to <a href="http://www.blackberry.com/appworld" target="_new">BlackBerry App World</a>!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11843/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11843/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11843&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/10/blackberry-10-webworks-sdk-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>
	</item>
		<item>
		<title>Ripple renewed: Updates to the Ripple Emulator</title>
		<link>http://devblog.blackberry.com/2012/09/ripple-emulator-updates/</link>
		<comments>http://devblog.blackberry.com/2012/09/ripple-emulator-updates/#comments</comments>
		<pubDate>Tue, 25 Sep 2012 21:40:56 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 WebWorks SDK]]></category>
		<category><![CDATA[blackberry webworks sdk]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[geolocation]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[ripple]]></category>
		<category><![CDATA[Ripple Emulator]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11137</guid>
		<description><![CDATA[Alongside the refresh for the BlackBerry® 10 WebWorks™ SDK, we have also released an update to the Ripple Emulator.  Never to be left out, Ripple gets a big update with emulation support for some of the latest BlackBerry 10 WebWorks APIs.  Let’s get started! We recently added support for the HTML5 File system API in [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11137&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Alongside the refresh for the <a href="http://devblog.blackberry.com/2012/09/blackberry-10-webworks-sdk-release-update/">BlackBerry® 10 WebWorks™ SDK</a>, we have also released an update to the Ripple Emulator.  Never to be left out, Ripple gets a big update with emulation support for some of the latest BlackBerry 10 WebWorks APIs.  Let’s get started!</p>
<p>We recently added support for the HTML5 File system API in our web rendering engine and BlackBerry WebWorks.  With this release, you can now emulate the file system, both sandboxed and unsandboxed.  Ripple will create an area your application can write to, and mimics the file system layout of the device.</p>
<p>A really cool piece of Ripple is the emulation of geolocation.  We recently added the live map view that allows you to select a new location on a map, and inject the location into your app code.  With this release, we received a great community contribution that really takes geolocation emulation to the next level.  <a href="http://github.com/mdineen" target="_new">Mark Dineen</a> provided a patch that allows you to specify a route to follow by providing a GPX file.  Ripple will read the file and inject location update events into your code based on the route provided! Now you can better emulate end-user navigation and movement.</p>
<p><img class="aligncenter size-full wp-image-11214" title="ripple-1" src="http://rimdevblog.files.wordpress.com/2012/09/ripple-1.jpg?w=313&#038;h=453" alt="TITLE_IMAGE" width="313" height="453" /></p>
<p>To better reflect the relationship between Cordova and PhoneGap &#8211; and due to the fact their core is the same &#8211; they are now both under the same entry in the Platforms window, and are represented by version number.</p>
<p>Quite often an application will wish to know when the virtual keyboard is displayed and closed, so that it can react accordingly.  You can now fire the relevant keyboard events into your application to test out your logic.  In the Events panel when you are emulating the BlackBerry 10 platform, you should now see the blackberry.event.keyboard… events.</p>
<p>HTML5 being inherently cross-platform in nature, there are many applications built using web technologies that are designed to target multiple form factors.  Part of designing a cross-platform application is ensuring that your application appears and lays out in a useful way depending on the capabilities of the target platform.  CSS media queries are a powerful tool in this regard, and Ripple now emulates media queries based on the target platform you have currently chosen to emulate.  Try it out and have some fun with this one.</p>
<p>So, be sure to visit our <a href="http://developer.blackberry.com/html5" target="_new">HTML5 developer site</a> to get all the most recent updates, and particularly the <a href="http://developer.blackberry.com/html5/downloads">downloads </a>page.  Get Ripple, and the latest WebWorks SDK, and start building!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11137&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/09/ripple-emulator-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/09/ripple-1.jpg" medium="image">
			<media:title type="html">ripple-1</media:title>
		</media:content>
	</item>
		<item>
		<title>Power up! BlackBerry 10 WebWorks SDK super-sized</title>
		<link>http://devblog.blackberry.com/2012/09/blackberry-10-webworks-sdk-release-update/</link>
		<comments>http://devblog.blackberry.com/2012/09/blackberry-10-webworks-sdk-release-update/#comments</comments>
		<pubDate>Tue, 25 Sep 2012 17:06:47 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 development]]></category>
		<category><![CDATA[BlackBerry 10 WebWorks SDK]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[native sdk]]></category>
		<category><![CDATA[sdk]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11133</guid>
		<description><![CDATA[I really don’t know where to begin with this blog post &#8212; there is just so much goodness being delivered in the latest BlackBerry® 10 WebWorks™ SDK release! We have to start with a huge shout-out to the BlackBerry WebWorks dev team for some truly remarkable work preparing for this blockbuster. I have been with [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11133&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I really don’t know where to begin with this blog post &#8212; there is just so much goodness being delivered in the latest BlackBerry® 10 WebWorks™ SDK release!</p>
<p>We have to start with a huge shout-out to the BlackBerry WebWorks dev team for some truly remarkable work preparing for this blockbuster. I have been with RIM® for just over 10 years &#8212; been there, done that, thought I had seen it all. But I can honestly say that the energy, passion, and dedication to make BlackBerry 10 truly astonishing is unmatched by anything that has come before.</p>
<p>And the passion is company-wide. Don’t take my word for it &#8212; this from one of the devs on the BlackBerry WebWorks team:</p>
<p><img class="aligncenter size-full wp-image-11191" title="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/09/webworks-dev-update.jpg?w=500&#038;h=415" alt="TITLE_IMAGE" width="500" height="415" /></p>
<p>But back to what you came here for: the low-down on what this release of BlackBerry WebWorks has to offer. Hope you already have your coffee ready (or perhaps adult beverage of choice).</p>
<p><span id="more-11133"></span></p>
<p>It would be remiss not to lead with the news that the first portion of PIM integration is now supported! With this release, you can create, find, modify, and delete Contacts in your address book. Just like the native application, you can get information on news related to your contact, as well as what instant messaging and social networks you are connected with them on. It’s everything you need to interact with the user’s social graph. Of course, be sure to add <a href="http://developer.blackberry.com/html5/documentation/rim_permit_element.html" target="_new">the new permissions</a> to your config.xml so the user can opt in, and ensure you elegantly handle it if the user does not allow you access to their PIM data.</p>
<pre>var name = new blackberry.pim.contacts.ContactName(); 

name.familyName = “Wallis”;
name.givenName = “Ken”;

var contact = blackberry.pim.contacts.create({
 	“displayName”: “Ken Wallis”,
 	“name”: name });

contact.save(onSaveSuccess, onSaveError);</pre>
<p>Drafted a close second (certainly a case could be made for this being selected number 1) is the first stage of support for the BBM Social Platform. In this release, you can register your application with BBM, interact with the user’s profile, be notified of changes to user or friend’s profiles (that also have your app installed), and allow the user to invite friends to download your application. Again, there is a new permission that you will need to include to allow your app to connect:</p>
<pre>blackberry.bbm.platform.self.setStatus("busy",
"Building BlackBerry 10, DND!", 
function (accepted) {
    		if(accepted) {
        			// User allowed the change
    		} else {
// User denied the change
    		}
});</pre>
<p>BlackBerry Flow is all about leveraging existing functionality &#8211; both system and third-party provided &#8211; to accomplish tasks in a consistent way, but without having to jump between applications. You can embed what you need from others inside your own application experience, and cards are what drive this experience. Think of a card as a screen that gets layered on top of your application that provides some common functionality to the user. When the user is finished interacting with the card, it animates off the stack of screens and returns any relevant data back to you. The Invocation Framework (which we introduced in a previous release of BlackBerry WebWorks) orchestrates all of this underneath the covers, so you can launch cards using invoke. With this release of BlackBerry WebWorks, you can leverage system and third-party developed cards inside your BlackBerry WebWorks application. You can also implement a card inside your BlackBerry WebWorks application and provide it for use by others! Check out the Invoked namespace in the <a href="http://developer.blackberry.com/html5/apis/" target="_new">API Reference</a> for more details on creating your own card.</p>
<p><img class="aligncenter size-full wp-image-11190" title="" src="http://rimdevblog.files.wordpress.com/2012/09/webworks-dev-update-2.jpg?w=288&#038;h=480" alt="" width="288" height="480" /></p>
<p>As indicated, raw invoke functionality can be used to launch cards. However, cards can be accessed in a number of other ways as well:</p>
<ul>
<li>A couple of cards provided by the system are the File picker and Camera cards. File picker allows you to provide the user with UI to select a file from the filesystem, and you will get the path back. The Camera Card allows the user to capture pictures or video, and again you get the path back. We felt that these cards might get a lot of use, and are a little more complex to interact with directly using invoke, so we have wrapped an API around them. Check out the blackberry.invoke.card namespace.</li>
<li>You can also leverage the File picker and Camera cards using the new support for Media Capture in the browser – just include the capture attribute on an field. If you specify “camera” or “camcorder”, you will get the Camera card; otherwise specifying anything else will invoke the File picker. Note that an input field with capture type “microphone” is currently not supported.</li>
</ul>
<p>&lt;input type=&#8221;file&#8221; accept=&#8221;image/*&#8221; capture=&#8221;camera&#8221;&gt;</p>
<p>In the last major release, we provided the built-in Context Menu with standard system options. This context menu is displayed when the user long presses on an item in your application. In this release, you now have the ability to customize the menu for different contexts in your application. You can remove items from the list, and even provide your own menu items for a given context (such as Image, link, and so on). In future releases, we are looking at ways to allow you to define your own custom context in your application content.</p>
<p><img class="aligncenter size-full wp-image-11189" title="" src="http://rimdevblog.files.wordpress.com/2012/09/webworks-dev-update-3.jpg?w=289&#038;h=480" alt="" width="289" height="480" /></p>
<p style="text-align:center;">Context Menu</p>
<p>User experience is a prime focus for BlackBerry 10. The user should feel at home no matter where they are, and be able to customize their device for accessibility reasons as well. For example, the user can set a language, as well as a region used for formatting of dates, and so on. Font size can also be adjusted for preference or for accessibility reasons. Applications should strive to adhere to these preferences as well, so with this release, we have provided APIs and events that will allow you to know what the language, region, font, and font size are as defined in the global settings. You can adjust your applications accordingly to have a seamless experience.</p>
<p>An oft-requested feature is to be able to lock your application in a specific orientation. Good news &#8212; you can do it now. Check out our <a href="http://developer.blackberry.com/html5/documentation/config_doc_elements.html" target="_new">documentation on the config.xml file</a> to find out how.</p>
<p>In order to improve memory overhead and load times, the underlying web rendering engine no longer loads the Adobe® Flash® plug-in be default. If you need to support Flash rendering in your application, you can enable it by adding the following feature element to your config.xml (note that this will be application wide, and will be ignored if found inside an &lt;access&gt; element):</p>
<p>&lt;feature id=&#8221;enable-flash&#8221;&gt;</p>
<p>If you are building a multi-page application, and even on application initial load, you may notice flickers on page transitions if your pages have any background color other than white. We have introduced the ability to specify in config.xml what your page color is, and we will use this to display between page loads to hide the flicker. Give it a try.</p>
<pre>&lt;feature id="blackberry.app"&gt;
    &lt;param name="backgroundColor" value="0xffffff" /&gt;
&lt;/feature&gt;</pre>
<p>Be sure to check out the <a href="http://developer.blackberry.com/html5/apis/" target="_new">API Reference</a> to get the low down on everything our Web Platform can offer to build not just web applications, but integrated web apps showcasing everything that makes BlackBerry 10 unique and powerful. And if you haven’t already, <a href="http://developer.blackberry.com/html5/downloads" target="_new">download the tools</a> and get started &#8212; there is no better time!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11133&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/09/blackberry-10-webworks-sdk-release-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3b422c1a037b89d4ddf5bef834dbdeef?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kjwallis</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/09/webworks-dev-update.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/09/webworks-dev-update-2.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2012/09/webworks-dev-update-3.jpg" medium="image" />
	</item>
	</channel>
</rss>
