<?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; blackberry webworks</title>
	<atom:link href="http://devblog.blackberry.com/tag/blackberry-webworks/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.blackberry.com</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 15:08:31 +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; blackberry webworks</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>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>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">http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079239157</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">http://www.blackberrydeveloperevents.com/events/webcast/registration/register.html?scoid=1079318388</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>PhoneGap Rules Everything Around Me!</title>
		<link>http://devblog.blackberry.com/2012/11/phonegap-blackberry-10/</link>
		<comments>http://devblog.blackberry.com/2012/11/phonegap-blackberry-10/#comments</comments>
		<pubDate>Mon, 19 Nov 2012 16:37:17 +0000</pubDate>
		<dc:creator>chadtatro</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[Cordova]]></category>
		<category><![CDATA[Cross Platform]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12136</guid>
		<description><![CDATA[I’m stoked to spread the word to all of our developers that as of version 2.2, you can now build apps with PhoneGap that target BlackBerry® 10! Our very own official Apache Cordova contributor Gord Tanner (@gordtanner) has been hard at work making sure you can build PhoneGap apps for BlackBerry 10 today. What’s got [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12136&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-12137" title="TITLE_IMAGE" alt="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/11/phonegap-blackberry-10.jpg?w=550&#038;h=208" height="208" width="550" /></p>
<p>I’m stoked to spread the word to all of our developers that as of version 2.2, you can now build apps with PhoneGap that target BlackBerry® 10!</p>
<p>Our very own official Apache Cordova contributor Gord Tanner (<a href="http://twitter.com/gordtanner" target="_new">@gordtanner</a>) has been hard at work making sure you can build PhoneGap apps for BlackBerry 10 today. What’s got me really excited about this news is that even though BlackBerry 10 is still in beta, a quick test revealed more than half of the APIs are already supported. With monthly updates to PhoneGap being released, this means that developers can start working on their BlackBerry 10 apps right away, and have peace of mind knowing that more and more support will be available in each release.</p>
<h3><strong>What is PhoneGap, you say?</strong></h3>
<p>PhoneGap is an open source framework that allows developers to quickly build cross-platform apps using HTML5, JavaScript®, and CSS. PhoneGap is powered by <a href="http://www.cordova.io" target="_new">Cordova</a> and is compatible with BlackBerry® OS 5+, BlackBerry® PlayBook™ OS, and now BlackBerry 10!</p>
<h3><strong>Have a PhoneGap app created for another platform? We’ve got 10,000 reasons for you to port it over!</strong></h3>
<p>If you already have a PhoneGap app available on other platforms, why not take advantage of the recent BlackBerry 10 support? By porting your app over to BlackBerry 10, and registering for the <a href="https://developer.blackberry.com/builtforblackberry/commitment/" target="_new">10k Developer Commitment</a>, we’re guaranteeing you will make at least $10,000 in 12 months or we’ll pay the difference!</p>
<p><i>Note: Conditions apply. For complete details, visit the <a href="https://developer.blackberry.com/builtforblackberry/commitment/" target="_new">10k Developer Commitment webpage</a>.</i></p>
<p>So, are you ready? Get started in 3 steps:</p>
<p>1. Visit the new <a href="https://github.com/ctetreault/incubator-cordova-docs/blob/master/docs/en/edge/guide/getting-started/blackberry/index.md" target="_new">PhoneGap Getting Started Guide for BlackBerry</a>.<br />
2. Head over to the <a href="http://www.phonegap.com" target="_new">PhoneGap website</a> and download the SDK.<br />
3. Win!</p>
<p>If you’ve got a success story, have a question, or just want to chat about apps, hit me up on Twitter <a href="http://twitter.com/chadtatro" target="_new">@chadtatro</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12136&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/11/phonegap-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/2012/11/phonegap-blackberry-10.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Integrate Your BlackBerry WebWorks Application with BBM</title>
		<link>http://devblog.blackberry.com/2012/11/blackberry-webworks-bbm-integration/</link>
		<comments>http://devblog.blackberry.com/2012/11/blackberry-webworks-bbm-integration/#comments</comments>
		<pubDate>Thu, 15 Nov 2012 15:14:23 +0000</pubDate>
		<dc:creator>MSohm</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[app development]]></category>
		<category><![CDATA[bbm]]></category>
		<category><![CDATA[BBM SP]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[native development]]></category>
		<category><![CDATA[native sdk]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=12070</guid>
		<description><![CDATA[Welcome to part 3 of my series of blog posts discussing the BlackBerry® Messenger (BBM™) Social Platform. My previous blog post, Integrate with BBM and Watch Your Application Go Viral, covered the features of the BlackBerry Messenger Social Platform (BBM SP) and how you can use them to promote your application. If you haven’t read [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12070&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Welcome to part 3 of my series of blog posts discussing the BlackBerry® Messenger (BBM™) Social Platform. My previous blog post, <a href="http://devblog.blackberry.com/2012/11/bbm-integration/" target="_new">Integrate with BBM and Watch Your Application Go Viral</a>, covered the features of the <a href="https://developer.blackberry.com/devzone/develop/bbm_connected/bbm.html" target="_new">BlackBerry Messenger Social Platform (BBM SP)</a> and how you can use them to promote your application. If you haven’t read it yet, I recommend giving it a read. Part 2, <a href="http://devblog.blackberry.com/2012/11/bbm-native-app-integration/" target="_new">How to Integrate Your Native Application with BBM</a>, covered use of the BBM SP in a native application.</p>
<p>Now I’m here to talk about how you can integrate your BlackBerry® WebWorks™ application with the BBM SP. Most of what will be covered is available to both BlackBerry® OS 5-7 and BlackBerry® 10 applications. However, at the time of writing some of the BBM SP APIs discussed here are available only for BlackBerry OS 5-7 applications &#8212; I’ve noted where this is the case. We are planning on adding these to the BlackBerry 10 WebWorks SDK as well.</p>
<p>Testing a BBM SP application for BlackBerry 10 currently requires a real device. We’re working on adding BBM SP support in the BlackBerry 10 simulator and this should be available before the end of 2012. Support for testing BlackBerry OS 5-7 applications that use BBM SP is supported in many <a href="http://us.blackberry.com/sites/developers/resources/simulators.html" target="_new">BlackBerry smartphone simulators</a> we have available today, so ensure you <a href="http://swdownloads.blackberry.com/Downloads/contactFormPreload.do?code=060AD92489947D410D897474079C1477&amp;dl=345C5BE25AEFA97F7E54894B04A59AA4" target="_new">download one that lists support for BBM</a>.</p>
<p><span id="more-12070"></span></p>
<h3><strong>Configure Your Project</strong></h3>
<p>The <a href="https://developer.blackberry.com/html5/download/" target="_new">BlackBerry 10 WebWorks SDK</a> includes everything you need to get started. If you have a BlackBerry OS 5-7 application, you’ll need to download the <a href="http://swdownloads.blackberry.com/Downloads/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&amp;dl=BEC7A49FE8DDDD6ED13781CB67B3406D&amp;check1=A" target="_new">BBM SDK v1.1 for BlackBerry WebWorks</a> in addition to the regular <a href="https://developer.blackberry.com/html5/download/#smartphones" target="_new">BlackBerry WebWorks SDK for Smartphones</a>. Instructions for connecting these two SDK for targeting BlackBerry OS 5-7 can be found in <a href="http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Getting-Started-BlackBerry-WebWorks-Development-for-Smartphones/ta-p/1185353" target="_new">Getting Started: BlackBerry WebWorks Development for Smartphones and the BBM Social Platform</a>.</p>
<p>In order for your application to access to the BBM SP APIs, you’ll need to request the appropriate permissions in your application’s config.xml file. There are two elements you’ll need to add: bbm_connect for rim:permissions and blackberry.bbm.platform for feature. Here is what it looks like:</p>
<pre>&lt;rim:permissions&gt;
	&lt;rim:permit&gt;bbm_connect&lt;/rim:permit&gt;
&lt;/rim:permissions&gt;
&lt;feature id="blackberry.bbm.platform" /&gt;</pre>
<h3><strong>Register with the BBM Social Platform</strong></h3>
<p>Registration is the first step in connecting to the BBM Social Platform, which involves an application registering itself with the RIM-hosted BBM infrastructure. A <a href="https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/bbm" target="_new">BBM sample</a> is available on the BlackBerry github site that demonstrates BBM SP registration along with the invite to download feature. Have a look at it once you’ve finished reading this section for the complete version of the code snippets used here.</p>
<p>When using BlackBerry WebWorks, the first thing to do is to register for the onaccesschanged event. If you try to register before registering for this, an IllegalStateException is thrown. Here is how you can register for this event:</p>
<pre>blackberry.event.addEventListener("onaccesschanged", function (accessible, status) {
	if (status === 'allowed') {
		/* Access allowed. */
	} 
});</pre>
<p>This code sample only catches the allowed status. Your application would need to handle disallowed status that could be caused by the user being out of coverage or if the user disallowed access to BBM. The <a href="https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/bbm" target="_new">BBM sample</a> demonstrates how to catch the other statuses.</p>
<p>Each application must define its own Universally Unique Identifier (UUID) so that it can uniquely identify itself. This UUID is used to register with the BBM SP servers during testing and development. Applications in the BlackBerry App World™ storefront are assigned their own UUID automatically. You can generate a UUID using various web sites, such as the one <a href="http://www.guidgenerator.com/" target="_new">here</a>. In BlackBerry WebWorks, the UUID is stored in the options parameter used in registration.</p>
<pre>options = {
	uuid: "33490f91-ad95-4ba9-82c4-33f6ad69fbbc"
};</pre>
<p>Now we’re ready for the final step in the registration process, which is to call the register method using the options parameter we defined above. This will trigger the onaccesschanged event.</p>
<pre>blackberry.bbm.platform.register(options);</pre>
<h3><strong>Invite to Download</strong></h3>
<p>The invite to download feature allows users of your application to invite their BBM contacts to download your application from BlackBerry App World. The recipient receives the invitation through a BBM Chat session, which includes a message provided by the application and user sending the invitation. This is one of the easiest features to implement. After you’ve registered, you can do this with just one method call.</p>
<pre>blackberry.bbm.platform.users.inviteToDownload();</pre>
<p>Note that for this to work between BlackBerry 10 and BlackBerry OS 5-7 users, the SKU in BlackBerry App World for the two releases of the application (BAR and COD) must be the same.</p>
<h3><strong>Profile Integration</strong></h3>
<p>BBM SP allows for both read and write access to the user’s BBM profile. This allows your application access to their profile message, status text, availability and avatar image. Here are a few examples of how to use these APIs:</p>
<p>This first code sample shows how to access the image the user has set for their BBM profile.</p>
<pre>blackberry.bbm.platform.self.getDisplayPicture(function (image) {
    // do something with the image here
});
Now let’s look at how your application could update the user’s BBM profile picture.
blackberry.bbm.platform.self.setDisplayPicture("local:///smiley.jpg", function (accepted) {
    if(accepted) {
        // User allowed the change
    } else {
        // User denied the change
    }
});</pre>
<p>If an update to a personal message was made from an application other than the BBM Client, a tag is shown under the update stating the name of the application that performed the update. Users can click on that tag to download the application from BlackBerry App World. This requires the sender to have installed the application from BlackBerry App World, so that tag won’t take you to BlackBerry App World if you side loaded your application for testing. Let’s take a look at how to update the personal message and status.</p>
<pre>blackberry.bbm.platform.self.setStatus("busy", "Getting a new high score", function (accepted) {
    if(accepted) {
        // User allowed the change
    } else {
        // User denied the change
    }
});
blackberry.bbm.platform.self. setPersonalMessage ("I’m loving this app!", function (accepted) {
    if(accepted) {
        // User allowed the change
    } else {
        // User denied the change
    }
});</pre>
<h3><strong>Profile Boxes</strong></h3>
<p>Profile Boxes provide yet another way for an application to promote itself to a user’s BBM contacts. They appear within the Apps area of a user’s profile and are ideal for sharing what a user is doing within an application. Every application that is connected to BBM SP appears in the list. Applications can create profile box items that appear under their application header. You can supply a custom image and string, which is used to create the profile box item.</p>
<p>The ability to add a profile box item using BlackBerry WebWorks is not yet supported on BlackBerry 10, but you can do it on BlackBerry OS 5-7. There are C and C++ APIs for populating the profile box on BlackBerry 10, so you could accomplish this by building a custom BlackBerry WebWorks extension.</p>
<p>When creating a profile box item, use of the image is optional. If you don’t wish to include an image, you can omit it from the options variable.</p>
<pre>var options = {text:"No one’s ever beat me at solitare!", icon:"local:///cardshark.jpg", cookie:"unbeatable"};
blackberry.bbm.platform.self.profilebox.addItem(options);</pre>
<h3><strong>Contacts</strong></h3>
<p>An application can retrieve a list of BBM Contacts who have the same application installed. This list can be used as selection criteria for connecting for a multi-user experience. Events are also fired for changes to this contact list, allowing your application to keep track of both the addition and deletion of contacts in the contact list itself and/or changes to individual contacts.</p>
<p>Currently, working with BBM contacts is not supported using BlackBerry WebWorks for BlackBerry 10, but there are APIs for WebWorks for BlackBerry OS 5-7 as well as C and C++ APIs for BlackBerry 10. Further support for this in BlackBerry WebWorks for BlackBerry 10 is planned for a December release. Watch the <a href="https://developer.blackberry.com/html5/download/roadmap/" target="_new">BlackBerry WebWorks roadmap</a> for updates.</p>
<h3><strong>Wrapping It Up</strong></h3>
<p>That wraps up my intro post for getting started with the BlackBerry Messenger Social Platform using BlackBerry WebWorks. Now it’s up to you to make use of these APIs in your next hit application, which could be featured on the <a href="https://developer.blackberry.com/devzone/develop/bbm_connected/showcase.html" target="_new">Connected App Showcase</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/12070/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/12070/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=12070&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/11/blackberry-webworks-bbm-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/76c7dc9f1e2068196cd724a8bd5bac54?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">msohm</media:title>
		</media:content>
	</item>
		<item>
		<title>Resources for the Corporate Developer – The BlackBerry Development Guide</title>
		<link>http://devblog.blackberry.com/2012/10/corporate-dev-resources/</link>
		<comments>http://devblog.blackberry.com/2012/10/corporate-dev-resources/#comments</comments>
		<pubDate>Mon, 22 Oct 2012 18:57:32 +0000</pubDate>
		<dc:creator>BlackBerry</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[corporate app guide]]></category>
		<category><![CDATA[corporate apps]]></category>
		<category><![CDATA[develop enterprise app]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[development guide]]></category>
		<category><![CDATA[Enterprise Apps]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11790</guid>
		<description><![CDATA[(Originally posted on the Inside BlackBerry for Business Blog) As more and more smartphones and tablets enter the enterprise, there is increasing desire to extend enterprise data beyond the desktop and into mobile. There are also more complexities when developing and deploying an app in an enterprise environment, such as data and device management, security, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11790&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><em>(Originally posted on the <a title="Inside BlackBerry for Business Blog" href="http://bizblog.blackberry.com/2012/10/corporate-developer-resource-guide/" target="_new">Inside BlackBerry for Business Blog</a>)</em></p>
<p><img class="aligncenter size-full wp-image-8931" title="enterprise_banner" alt="" src="http://rimbizblog.files.wordpress.com/2012/10/enterprise_banner.png?w=600&#038;h=163" height="163" width="600" /></p>
<p>As more and more smartphones and tablets enter the enterprise, there is increasing desire to extend enterprise data beyond the desktop and into mobile. There are also more complexities when developing and deploying an app in an enterprise environment, such as data and device management, security, cross-platform and cross-device development, and connectivity for your application. With its core DNA rooted in the enterprise, the BlackBerry® platform addresses these issues with app development and deployment solutions – and as a developer, these can be leveraged to deliver a richer and more secure application.</p>
<p>The guide posted below will help developers make the right development decisions, leveraging the right tools and resources. This can save valuable time and money, and ultimately help build better applications. Key topics covered are:</p>
<ul>
<li>Overview of BlackBerry® WebWorks™</li>
<li>Building HTML5 Applications with Native-Like Functionality</li>
<li>Using Existing Web Development Frameworks</li>
<li>BlackBerry WebWorks Resources</li>
<li>Tools and Code to Help You Get Started Today</li>
<li>Deploying and Managing Client Applications</li>
<li>Securing Enterprise Content</li>
</ul>
<p><a href="http://www.slideshare.net/BlackBerry/blackberry-enterprise-development-guide" target="_new">Check out the guide</a> below and share your thoughts and feedback in the comments.</p>
<p style="text-align:center;"><iframe src='http://www.slideshare.net/slideshow/embed_code/14837862' width='425' height='348'></iframe></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11790/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11790/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11790&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/10/corporate-dev-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/860f33a401c613708d3feb4ae6541d80?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">insideblackberryblog</media:title>
		</media:content>

		<media:content url="http://rimbizblog.files.wordpress.com/2012/10/enterprise_banner.png" medium="image">
			<media:title type="html">enterprise_banner</media:title>
		</media:content>
	</item>
		<item>
		<title>Developer Experience Review of BlackBerry WebWorks &#8211; Compiling the Feedback</title>
		<link>http://devblog.blackberry.com/2012/10/dev-review-webworks-feedback/</link>
		<comments>http://devblog.blackberry.com/2012/10/dev-review-webworks-feedback/#comments</comments>
		<pubDate>Thu, 04 Oct 2012 18:57:20 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[PhoneGap]]></category>
		<category><![CDATA[ripple]]></category>
		<category><![CDATA[Web Extensions]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11452</guid>
		<description><![CDATA[Well, that was&#8230;refreshing! We just finished a very productive day yesterday, reviewing the end-to-end developer experience of the BlackBerry® WebWorks™ platform. There were some very vibrant conversations about what currently does and does not contribute to a positive experience for someone approaching BlackBerry Web development for the very first time. We found many examples of [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11452&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Well, that was&#8230;refreshing! We just finished a very productive day yesterday, reviewing the end-to-end developer experience of the BlackBerry® WebWorks™ platform. There were some very vibrant conversations about what currently does and does not contribute to a positive experience for someone approaching BlackBerry Web development for the very first time.</p>
<p>We found many examples of things we’re doing right (e.g. automatic updates in Ripple). However, as we hoped to find, we also discovered examples of sub-optimal experiences where new developers could possibly be road blocked in their ability to complete their BlackBerry application. It is these latter examples that proved why we ran this exercise, and we are committed to continuing this review and will re-evaluate the platform again on a regular schedule.</p>
<p>Our group first started by identifying who our development community was. How did they think? What was important to them? How would their potential backgrounds influence how they flow through the “getting started with BlackBerry” experience? Our focus was on the following 5 personalities:</p>
<p><span id="more-11452"></span></p>
<ul>
<li><strong>“The coder”</strong> – Lives in a text editor and can modify their own path variable. Comfortable troubleshooting advanced issues without assistance. Likely have built a mobile app already.</li>
<li><strong>“The beginner”</strong> – Just getting started with mobile development or are evaluating BlackBerry Web dev. May have strong development skills in another language or none at all.</li>
<li><strong>“The desktop web developer”</strong> – Have a very strong understanding of client-server web development. Have successfully built web sites and may have used frameworks like jQuery, Sencha or Dojo.</li>
<li><strong>“The enterprise developer”</strong> – Cross platform is a primary goal. Prefers to use IDEs and typically works under an IT enforced environment.</li>
<li><strong>“The PhoneGap developer”</strong> – Someone who has come to the BlackBerry developer site to learn how to port their PhoneGap application</li>
</ul>
<p>So what did we find? Lots! In fact, I’m still going through all the feedback. Everything from “would be nice” changes to “this is a gating bug and must be fixed” is being documented, and our intent is to file issues so the public can track them in the developer issue tracker . Here are just some of the results from the group:</p>
<ul>
<li><strong>Discovery process:</strong> Search engine optimization should be improved. Keywords that each developer persona would expect to search for did not always generate correct search results.<br />
[Michelle] Search term: “enterprise development for BlackBerry 10” on Google. First result is to register for an outdated/unrelated course; next search results are for BlackBerry® Enterprise Server development.</li>
<li><strong>Sample applications:</strong> A number of BlackBerry WebWorks sample applications are published in Github. We need to refine the flow of navigating a user between blackberry.com and github.com. Also, for new developers, Github is unfamiliar. Some preparation of what to expect and how to use it will be helpful:<br />
[Kevin]: Sample apps&#8230; I am not super familiar with Github. Didn’t like getting dumped into git for samples. I’d prefer to get a zip to download. Managed to figure it out then.<br />
[Brent] &#8211; Click the link for samples on Getting Started &#8211; Taken to Github – what is Github? And what are these samples for &#8211; what do they do?</li>
<li><strong>HelloWorld sample:</strong> More developers will successfully complete the “Creating HelloWorld for BlackBerry 10” tutorial if we provide a direct link to a ZIP file that contains the sample application assets.<br />
[Brent] HelloWorld sample &#8211; copying and Pasting seems like a waste. Possible to download the helloworld package? &#8211; Creating config.xml in notepad and pasting the copied xml text puts it all on one lovely line. #NotImpressed</li>
<li><strong>Ripple:</strong> The Ripple Mobile emulator is currently designed to build and sign a BlackBerry WebWorks application. It also provides an option to deploy to a target device, but only when the app is unsigned. For simulators this is ideal; however, not for live devices where a debug token would be required. Not all developers want / know how to use a debug token.<br />
[Ed] The build choices are confusing and missing the one option I want. I want &#8220;package and sign, or package sign and deploy&#8221; to a real device. Package and launch is confusing because I don&#8217;t want to package and launch to a simulator, but when I do want to for a real device, I want it to do so signed, not with debug tokens I don&#8217;t use. I suggest: &#8220;Package&#8221;, &#8220;Package &amp; Sign&#8221;, &#8220;Package &amp; Sign &amp; deploy&#8221; (to a real device&#8221; and &#8220;Package and launch&#8221; to simulator. the last one, the least likely to use.</li>
</ul>
<p>Here’s how you can send us feedback -</p>
<ol>
<li>Join the discussion in the <a href="http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/BlackBerry-HTML5-WebWorks-Experience-Review-your-feedback/td-p/1932445" target="_new">BlackBerry Web and BlackBerry WebWorks community forum</a>.</li>
<li>Log into the <a href="https://www.blackberry.com/jira/secure/Dashboard.jspa" target="_new">developer issue tracker</a> and file a bug report. Remember to provide as much detail as possible about how to reproduce the problem and what are the expected / actual results.</li>
<li>Let’s have a chat via <a href="https://twitter.com/BlackBerryDev" target="_new">@BlackBerryDev on Twitter®</a> or the <a href="https://www.facebook.com/BlackBerryDeveloperCommunity" target="_new">BlackBerryDevCommunity on Facebook®</a>.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11452/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11452/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11452&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/10/dev-review-webworks-feedback/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>
	</item>
		<item>
		<title>Under The Microscope: The BlackBerry 10 WebWorks Experience Review</title>
		<link>http://devblog.blackberry.com/2012/10/webworks-experience-review/</link>
		<comments>http://devblog.blackberry.com/2012/10/webworks-experience-review/#comments</comments>
		<pubDate>Wed, 03 Oct 2012 17:11:43 +0000</pubDate>
		<dc:creator>Adam S.</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11398</guid>
		<description><![CDATA[What is it like for developers to get started with the BlackBerry® WebWorks™ platform for the very first time?  Well, we want to know. Questions like these are very important and the reasons why I and nine others from our team have gathered today to analyze and explore further.  In the room today we have: Developer [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11398&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>What is it like for developers to get started with the BlackBerry® WebWorks™ platform for the very first time?  Well, we want to know.</p>
<p>Questions like these are very important and the reasons why I and nine others from our team have gathered today to analyze and explore further.  In the room today we have:</p>
<ul>
<li>Developer Relations: Adam Stanley, Michelle Mendoza</li>
<li>R&amp;D: Chris Del Col, Dan Silivestru, Matt Lantz</li>
<li>Documentation: Ryan Lehman, Kevin Bater, Kate Wilhelm</li>
<li>Product Management: Tim Neil</li>
<li>Wireless Application Architects: Brent Thornton, Ed Bourne</li>
</ul>
<p style="text-align:center;"><img class="aligncenter  wp-image-11399" title="Mississauga-20121003-00173" src="http://rimdevblog.files.wordpress.com/2012/10/mississauga-20121003-00173.jpg?w=614&#038;h=461" alt="TITLE_IMAGE" width="614" height="461" /></p>
<p>The goal of today’s exercise is to take a step back, and put ourselves in the shoes of our development community.  We are putting the BlackBerry HTML5/WebWorks platform under a microscope to get a deeper understanding of its DNA.</p>
<p>Everyone in the room is uninstalling their SDKs and clearing their minds in order to live through the experience of getting started with BlackBerry Web development for the very first time.  We’re putting on the hats of different developer personalities and discovering how those mindsets affect how they discover the platform, read use our documentation, access samples and use our SDKs.</p>
<p>We want to ensure a developer never has to get stuck at “Now what do I do?”  The next step, whether it is downloading Ripple, installing a code signing key or testing via remote web inspector should be clear.</p>
<p>How did you get started with BlackBerry dev for the first time?</p>
<blockquote class="twitter-tweet"><p>@<a href="https://twitter.com/n_adam_stanley">n_adam_stanley</a><a href="https://twitter.com/search/%23bbdevxp">#bbdevxp</a> Sample Apps always be the best way, off course later its necessary read the documentation =)</p>
<p>— PabloC (@twipoc) <a href="https://twitter.com/twipoc/status/253509654385160194">October 3, 2012</a></p></blockquote>
<blockquote class="twitter-tweet"><p>@<a href="https://twitter.com/n_adam_stanley">n_adam_stanley</a> The first apps were all copy&amp;paste from samples.<a href="https://twitter.com/search/%23bbdevxp">#bbdevxp</a> Now doing the same on <a href="https://twitter.com/search/%23bb10">#bb10</a></p>
<p>— Simon Hain (@SimonHain) <a href="https://twitter.com/SimonHain/status/253501554215223297">October 3, 2012</a></p></blockquote>
<p>As the folks who are behind the scenes actually building the tools, websites and learning resources that developers use, it’s important we are clearly providing a positive experience that enables our developers to be successful.  Right now we are ½ way through the day and we’ve discovered finding proactive ways to make the existing experience even better for our web community.  Some examples include:</p>
<ul>
<li>More focus on putting samples at the forefront of the getting started process.</li>
<li>Providing offline documentation.</li>
<li>Better linking between API reference guides, samples and developer documentation.</li>
</ul>
<p>I want to hear your feedback.  Tell me what was important to you as a developer when you first started and I’ll make sure your voice is heard.</p>
<p>Post a comment below or <a href="https://twitter.com/">send us a tweet</a> using hashtag <a href="https://twitter.com/i/#!/search/?q=%23bbdevxp&amp;src=typd">#bbdevxp</a> or post in the <a href="http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev">BlackBerry Web community forums</a> and let us know what’s on your mind!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11398/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11398&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/10/webworks-experience-review/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/10/mississauga-20121003-00173.jpg" medium="image">
			<media:title type="html">Mississauga-20121003-00173</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>
		<item>
		<title>BlackBerry Jam Americas 2012: Flight Arrival Boards and Roadmap Updated</title>
		<link>http://devblog.blackberry.com/2012/09/flight-arrival-boards-roadmap-update/</link>
		<comments>http://devblog.blackberry.com/2012/09/flight-arrival-boards-roadmap-update/#comments</comments>
		<pubDate>Tue, 25 Sep 2012 16:58:36 +0000</pubDate>
		<dc:creator>Tim N.</dc:creator>
				<category><![CDATA[Adobe AIR Development]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Platform Services]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[Android Runtime]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 development]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[Cascades]]></category>
		<category><![CDATA[flight arrival boards]]></category>
		<category><![CDATA[Gold SDK]]></category>
		<category><![CDATA[native sdk]]></category>
		<category><![CDATA[roadmap]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=11127</guid>
		<description><![CDATA[We’ve updated our flight arrival boards to provide statuses on all of the feature functionality delivered with the September BlackBerry® 10 development tools update. Along with this, we’ve updated some milestones leading up to the Gold SDK releases. In my previous blog post, I mentioned that we were still considering whether or not to do [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11127&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-11182" title="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/09/flight-arrival-board.jpg?w=550&#038;h=351" alt="TITLE_IMAGE" width="550" height="351" /></p>
<p>We’ve updated our flight arrival boards to provide statuses on all of the feature functionality delivered with the September BlackBerry® 10 development tools update. Along with this, we’ve updated some milestones leading up to the Gold SDK releases.</p>
<p>In my <a href="http://devblog.blackberry.com/2012/08/flight-arrival-boards" target="_new">previous blog post</a>, I mentioned that we were still considering whether or not to do another set of SDK updates after our September release and before the final Gold SDK build. Based on feedback from our developer community, we’ve decided to add another SDK release on the road to Gold. We’ve updated the SDK release schedule to reflect these needs while ensuring that there’s no impact to the first BlackBerry 10 smartphone being delivered on-time in Q1 2013. The updated SDK schedule is as follows:</p>
<p><span id="more-11127"></span></p>
<p><strong>November: SDK Gold Candidate</strong></p>
<ul>
<li>Updates to all SDKs</li>
<li>Mainly bug fixes</li>
</ul>
<p><strong>December: SDK Gold</strong></p>
<ul>
<li>Updates to all SDKs</li>
<li>Mainly bug fixes</li>
</ul>
<p><strong>December: Keyboard device SDK Beta</strong></p>
<ul>
<li>Updates to necessary SDKs targeted at compatibility testing for <a href="http://devblog.blackberry.com/2012/08/blackberry-10-screen-resolutions/" target="_new">QWERTY devices</a></li>
<li>User Experience tweaks to Cascades/Adobe AIR controls to account for screen resolution changes</li>
</ul>
<p>The November release will be a gold candidate release which will contain mainly bug fixes and further stabilized SDKs for you to continue testing. This will be the SDK candidate that RIM® will continue to test and be finalized in December as the Gold SDK. Be sure to check-out the updated flight arrival boards for the details associated to the SDK of your choice.</p>
<h3><strong>Wait a second, you show a Keyboard device SDK Beta. What the heck is that?</strong></h3>
<p>In December 2012, we’ll also be releasing the necessary Beta SDKs to allow you to perform compatibility testing of your application for the first BlackBerry 10 QWERTY device. Since this new device will be a <a href="http://devblog.blackberry.com/2012/08/blackberry-10-screen-resolutions/" target="_new">different screen resolution</a> (720&#215;720 vs 1280&#215;768) than the first all-touch BlackBerry 10 device, we want to make sure you have simulators and updated SDKs to test your applications.</p>
<p>This SDK release will also include any UI tweaks for the Cascades™ and Adobe® AIR® controls to match the new Keyboard device screen resolution. The controls mainly affected are Action Bars, which are adjusted take up less screen real estate.</p>
<h3><strong>Why do I see some new items appearing in the upcoming November release?</strong></h3>
<p>With this current September release, we do consider the Native SDK, Adobe AIR and Android™ Runtime API complete. However, there are a few small additional items that will be coming into the November release. These are mainly small additions that will not affect the main APIs, which are now considered complete. BlackBerry® WebWorks™ is one of the exceptions that will be continuing to deliver new APIs both in the Gold Candidate and Gold release.</p>
<h3><strong>Where do I find these Flight Arrival Boards?</strong></h3>
<p>You can check out each of the Flight Arrival Boards by clicking on the “Roadmap” links on each of the websites or check out the links below:</p>
<p><a href="https://developer.blackberry.com/native/beta/download/roadmap">Native SDK</a><br />
<a href="http://developer.blackberry.com/cascades/download/roadmap" target="_new">Cascades Application Framework Roadmap</a><br />
<a href="http://developer.blackberry.com/native/beta/download/roadmap" target="_new">Core lower level API Roadmap</a><br />
<a href="http://developer.blackberry.com/html5/download/roadmap" target="_new">HTML5/BlackBerry WebWorks SDK Roadmap</a><br />
<a href="http://developer.blackberry.com/air/download/roadmap" target="_new">Adobe AIR SDK Roadmap</a><br />
<a href="http://developer.blackberry.com/android/tools/roadmap" target="_new">Android Runtime Roadmap</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/11127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/11127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=11127&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/09/flight-arrival-boards-roadmap-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3939390650b170ba28e9bf3c53d397ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timneil1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/09/flight-arrival-board.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>Some Summer Cleanup</title>
		<link>http://devblog.blackberry.com/2012/08/some-summer-cleanup/</link>
		<comments>http://devblog.blackberry.com/2012/08/some-summer-cleanup/#comments</comments>
		<pubDate>Mon, 27 Aug 2012 22:43:26 +0000</pubDate>
		<dc:creator>Ken W</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=10895</guid>
		<description><![CDATA[BlackBerry® 10 WebWorks™ SDK Refreshed Recently we posted a new version of the BlackBerry® 10 WebWorks™ SDK that delivered to you the power to create your own custom API extensions; this allows you to expose Native platform functionality into your application that we have not yet exposed in the standard WebWorks API set.  Hopefully you [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=10895&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>BlackBerry® 10 WebWorks™ SDK Refreshed</strong></p>
<p style="text-align:center;"><a href="http://rimdevblog.files.wordpress.com/2012/08/blackberrydevalpha.jpg"><img class="aligncenter  wp-image-10897" title="blackberrydevalpha" src="http://rimdevblog.files.wordpress.com/2012/08/blackberrydevalpha.jpg?w=494&#038;h=405" alt="TITLE_IMAGE" width="494" height="405" /></a></p>
<p>Recently we posted a new version of the BlackBerry® 10 WebWorks™ SDK that delivered to you the power to create your own custom API extensions; this allows you to expose Native platform functionality into your application that we have not yet exposed in the standard WebWorks API set.  Hopefully you are well on your way already to creating your custom extension.</p>
<p>Since the release we had some reports of issues with respect to code signing on Apple Mac systems, as well as issues with config.xml files with more than one &lt;feature&gt; elements that references an unsupported feature (these should just be gracefully ignored.  Thanks to some hard work by the dev team we have resolved these issues, and version 1.0.1.17 of the BlackBerry 10 WebWorks SDK is now available for download.</p>
<p>Head over to the <a href="https://developer.blackberry.com/html5/download/sdk">download page</a> to grab it and resume coding your BlackBerry 10 WebWorks apps!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/10895/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/10895/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=10895&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/08/some-summer-cleanup/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/08/blackberrydevalpha.jpg" medium="image">
			<media:title type="html">blackberrydevalpha</media:title>
		</media:content>
	</item>
	</channel>
</rss>
