<?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; samples</title>
	<atom:link href="http://devblog.blackberry.com/tag/samples/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; samples</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>PeaksAndValleys Added to WebGL-Samples Repository</title>
		<link>http://devblog.blackberry.com/2012/07/peaksandvalleys-webgl-sample/</link>
		<comments>http://devblog.blackberry.com/2012/07/peaksandvalleys-webgl-sample/#comments</comments>
		<pubDate>Fri, 06 Jul 2012 14:11:12 +0000</pubDate>
		<dc:creator>Erik O.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[samples]]></category>
		<category><![CDATA[WebGL]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=10083</guid>
		<description><![CDATA[The PeaksAndValleys WebGL sample is now available at the WebGL-Samples Github repository.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=10083&#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-10084" src="http://rimdevblog.files.wordpress.com/2012/07/webgl-sample.jpg?w=550&#038;h=273" alt="TITLE_IMAGE" width="550" height="273" /></p>
<p>At <a href="http://www.fitc.ca/events/about/?event=124" target="_new">FITC Toronto</a> this year, <a href="http://twitter.com/dustinmalik" target="_new">Dustin Malik</a> and I presented a session for developers interested in WebGL &#8212; where it is today and where WebGL is headed. I made a promise to open source my WebGL sample (previously known as Webscape) and I’m happy to say that it’s available today!</p>
<p>Two months prior to FITC, I had very little personal experience with WebGL development. I spent two weeks researching WebGL technologies and frameworks with the ultimate goal being to pack as many topics that a typical WebGL game dev might come across into one sample.</p>
<p>Over the next week, I tried various WebGL frameworks. I managed to make quite a bit of progress using <a href="https://github.com/mrdoob/three.js/" target="_new">Three.js</a> before I hit my first issue and realized that without knowing how WebGL works under the hood, I’d have a difficult time resolving my own issues. Imagine trying to debug a public framework like jQuery without having knowledge of JavaScript®.</p>
<p>So I started over, this time using pure WebGL as my approach and <a href="http://www.learningwebgl.com" target="_new">www.learningwebgl.com</a> as my primary resource of information. The next three weeks saw the majority of my coding. I wanted to take the project as far as I could before the FITC conference.</p>
<p>In that time, I managed to implement forms of terrain generation and pathing, ambient and directional lighting, a skybox, virtual controls, and texture blending. It was an adventure, to say the least. I left a week for debugging and touch-ups, and then it was conference time.</p>
<p>Primarily, this sample is intended to be a learning resource. As such, it has been open sourced at our <a href="https://github.com/blackberry/WebGL-Samples" target="_new">WebGL-Samples Github repository</a>. Feel free to take it, rip it apart, and build up something grander. This sample is not perfect, but it does take a lot of concepts and brings them into one place. Feedback, questions, and contributions are all welcome. If you have your own projects you’re working on, I’d be ecstatic to see them!</p>
<p>Finally, I wanted to say thank you to the following people whose contributions to the online community helped me greatly along my way: <a href="http://www.learningwebgl.com/" target="_new">Learning WebGL</a>, <a href="https://github.com/toji/gl-matrix" target="_new">Brandon Jones</a>, <a href="https://github.com/jeromeetienne/virtualjoystick.js" target="_new">Jerome Etienne</a>, <a href="http://chandler.prallfamily.com/2011/06/blending-webgl-textures" target="_new">Chandler Prall</a>, <a href="http://webreflection.blogspot.ca/2010/09/fragment-and-vertex-shaders-my-way-to.html" target="_new">Andrea Giammarch</a>, <a href="http://paulirish.com/2011/requestanimationframe-for-smart-animating" target="_new">Paul Irish and Erik Möller</a>, <a href="https://github.com/mrdoob/three.js/" target="_new">Ricardo Cabello</a>, and the <a href="https://developer.valvesoftware.com/wiki/Skybox_(2D)_with_Terragen" target="_new">Valve Developer Community</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/10083/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/10083/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=10083&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/07/peaksandvalleys-webgl-sample/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0788073ae3c85a2b7e415fa106832a51?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eoros</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/07/webgl-sample.jpg" medium="image">
			<media:title type="html">TITLE_IMAGE</media:title>
		</media:content>
	</item>
		<item>
		<title>PictureWall: a new HTML5 sample on Github</title>
		<link>http://devblog.blackberry.com/2012/05/picturewall-html5-sample/</link>
		<comments>http://devblog.blackberry.com/2012/05/picturewall-html5-sample/#comments</comments>
		<pubDate>Wed, 23 May 2012 19:53:16 +0000</pubDate>
		<dc:creator>Eduardo P-L.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10 Jam]]></category>
		<category><![CDATA[blackberry playbook]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[PictureWall]]></category>
		<category><![CDATA[samples]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=9519</guid>
		<description><![CDATA[Announcing the PictureWall HTML5 sample, published during BlackBerry 10 Jam.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=9519&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://openbbnews.wordpress.com/author/gtanner/" target="_new">Gord</a> published a new HTML5 sample during <a href="http://www.blackberryjamconference.com" target="_new">BlackBerry® 10 Jam</a>: <a href="http://github.com/blackberry/picturewall" target="_new">PictureWall</a>, which is a BlackBerry® WebWorks™ application that controls a &#8220;wall&#8221; tiled with tablets like the <a href="http://us.blackberry.com/playbook-tablet/" target="_new">BlackBerry® PlayBook™ tablet</a>. The pictures are delivered from a server that is running <a href="http://nodejs.org/" target="_new">nodeJS</a> and are pushed to the tablets using <a href="http://socket.io/" target="_new">socket.io</a>.</p>
<p>The tablets are in a fixed layout and each tablet knows its position in the wall. At a given time, the wall can be used to present pictures in different combinations of tablets, ranging from one picture per tablet to a single picture split the complete wall. The two pictures below show a 3&#215;3 wall of BlackBerry PlayBook tablets displaying 9 different images, and then a single image split into 9 segments.</p>
<p style="text-align:center;"><img title="TITLE_IMAGE" src="http://rimdevblog.files.wordpress.com/2012/05/picturewall-1.jpg?w=270&#038;h=207" alt="" width="270" height="207" /> <img title="" src="http://rimdevblog.files.wordpress.com/2012/05/picturewall-2.jpg?w=270" alt="" width="270" /></p>
<p>Have fun with the sample and let us know how you use it, or extend it. And remember, we welcome contributions back to <a href="https://github.com/blackberry" target="_new">our repositories on Github</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/9519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/9519/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=9519&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/05/picturewall-html5-sample/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f662e1b4e55509b4205db5b8187e374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eduardopele</media:title>
		</media:content>

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

		<media:content url="http://rimdevblog.files.wordpress.com/2012/05/picturewall-2.jpg" medium="image" />
	</item>
		<item>
		<title>BlackBerry 10 Samples Galore</title>
		<link>http://devblog.blackberry.com/2012/05/blackberry-10-samples/</link>
		<comments>http://devblog.blackberry.com/2012/05/blackberry-10-samples/#comments</comments>
		<pubDate>Thu, 17 May 2012 13:40:41 +0000</pubDate>
		<dc:creator>Eduardo P-L.</dc:creator>
				<category><![CDATA[Cascades]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[BlackBerry 10]]></category>
		<category><![CDATA[BlackBerry 10 development]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[samples]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=9444</guid>
		<description><![CDATA[A summary of the BlackBerry 10 open source samples currently available.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=9444&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p style="text-align:left;"><a href="http://rimdevblog.files.wordpress.com/2012/05/6982745801_09874aa514_z.jpg"><img class="aligncenter  wp-image-9449" title="6982745801_09874aa514_z" src="http://rimdevblog.files.wordpress.com/2012/05/6982745801_09874aa514_z.jpg?w=512&#038;h=384" alt="TITLE_IMAGE" width="512" height="384" /></a></p>
<p>We know you need samples to learn from, borrow from, and modify. During the <a href="http://www.blackberryjamconference.com/" target="_new">BlackBerry® 10 Jam</a> in Orlando, we released many samples to help you start building for BlackBerry 10. More samples are in the queue but I wanted to give you a summary of the ones available today.</p>
<p>All code samples have been released under Open Source. Most of them use <a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_new">Apache Software License 2</a>; a few use other licenses for different reasons.</p>
<h3><strong><a href="https://bdsc.webapps.blackberry.com/cascades/" target="_blank">Cascades</a>™ - Samples released include:</strong></h3>
<ul>
<li><a href="https://github.com/blackberry/Cascades-Samples" target="_new">Cascades-Samples</a>: This repository has most of the official Cascades samples. The samples come directly from the team designing Cascades and are infused with that TAT &#8216;style&#8217;. There are 15 samples. Samples were highlighted during the <a href="http://devblog.blackberry.com/2012/05/blackberry-10-jam-super-session-videos/" target="_new">Super Jam session</a> (<a href="http://www.youtube.com/watch?feature=player_embedded&amp;v=szU-8e3OurI" target="_new">video</a>).</li>
<li><a href="http://github.com/blackberry/Cascades-Community-Samples" target="_new">Cascades-Community-Samples</a>: These samples are contributions from the community. The first contribution corresponds to the demo from <a href="http://macadamian.com/" target="_new">Macadamian</a> presented during the <a href="http://devblog.blackberry.com/2012/05/blackberry-10-jam-super-session-videos/" target="_new">Super Jam session</a>. The demo shows how to integrate OpenGL with Cascades (<a href="http://www.youtube.com/watch?feature=player_embedded&amp;v=3nX_AploVC8" target="_new">video</a>).</li>
</ul>
<h3><strong><a href="https://bdsc.webapps.blackberry.com/native/beta" target="_blank">BlackBerry 10 Native SDK</a> - Samples released include:</strong></h3>
<ul>
<li><a href="https://github.com/blackberry/NDK-Samples" target="_new">Native SDK &#8211; Samples</a>: The <a href="https://github.com/blackberry/NDK-Samples/tree/next" target="_new">next branch</a> of this repository now has the native samples for the <a href="https://developer.blackberry.com/native/beta/" target="_new">BlackBerry 10 Native beta</a>.</li>
<li><a href="https://github.com/blackberry/Scoreloop-Samples" target="_new">Scoreloop™ &#8211; Samples</a>: This repository contains a <a href="https://github.com/blackberry/Scoreloop-Samples/tree/master/ScoreloopIntegrationSample" target="_new">single example</a> that shows integration of <a href="http://www.scoreloop.com/" target="_new">Scoreloop</a> with the BPS Event System in the BlackBerry® PlayBook™ tablet.</li>
<li><a href="https://github.com/blackberry/GamePlay" target="_new">Gameplay</a>: The game framework includes a <a href="https://github.com/blackberry/GamePlay/tree/master/gameplay-samples" target="_new">samples</a> directory. When Gameplay 1.2 was released, new samples were released too.</li>
</ul>
<h3><strong><a href="http://developer.blackberry.com/html5" target="_blank">HTML5</a> - Samples released:</strong></h3>
<ul>
<li><a href="https://github.com/blackberry/PictureWall" target="_new">PictureWall</a>: This sample application shows how to display a collection of pictures onto a &#8220;wall&#8221; of BlackBerry PlayBook tablets.</li>
<li><a href="https://github.com/blackberry/bbUI.js" target="_new">bbUI.js</a>: The update to this HTML5 library also includes <a href="https://github.com/blackberry/bbUI.js/tree/master/samples" target="_new">additional samples</a>. Also see the <a href="http://devblog.blackberry.com/2012/05/blackberry-10-bbui/" target="_new">blog post introducing bbUI.js</a>.</li>
<li><a href="https://github.com/blackberry/jQuery-Mobile-Samples" target="_new">jQuery-Mobile-Samples</a>: This repository is being used to contribute to the <a href="http://jquerymobilecookbook.com/" target="_new">jQuery Mobile Cookbook</a> project.</li>
</ul>
<p>Want to learn more? Check out the schedule for the <a href="http://www.blackberryjamroadshow.com/" target="_new">BlackBerry 10 Jam RoadShow</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/9444/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/9444/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=9444&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/05/blackberry-10-samples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/f662e1b4e55509b4205db5b8187e374f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eduardopele</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/05/6982745801_09874aa514_z.jpg" medium="image">
			<media:title type="html">6982745801_09874aa514_z</media:title>
		</media:content>
	</item>
		<item>
		<title>BlackBerry Samples for jQuery Mobile</title>
		<link>http://devblog.blackberry.com/2012/05/jquery-mobile-blackberry-samples/</link>
		<comments>http://devblog.blackberry.com/2012/05/jquery-mobile-blackberry-samples/#comments</comments>
		<pubDate>Mon, 14 May 2012 18:36:13 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQuery Mobile]]></category>
		<category><![CDATA[mobile web development]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[sample code]]></category>
		<category><![CDATA[samples]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=9386</guid>
		<description><![CDATA[Our 49th repository on Github, jQuery-Mobile-Samples, will contain samples and tutorials using jQuery Mobile.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=9386&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-9415" title="" alt="" src="http://rimdevblog.files.wordpress.com/2012/05/blackberry-10-jam.jpg?w=600&#038;h=398" height="398" width="600" /></p>
<p>Supporting open standards and open source are keystones of the BlackBerry® platform. We are pleased to announce another repository of open source contributions through <a href="https://github.com/blackberry/" target="_new">Github</a>. Our 56th repository, <a href="https://github.com/blackberry/jQuery-Mobile-Samples" target="_new">jQuery-Mobile-Samples</a>, will contain samples and tutorials using <a href="http://jquerymobile.com/" target="_new">jQuery Mobile</a> for building outstanding BlackBerry applications and mobile web experiences.</p>
<p>If you’ve done mobile web development, then jQuery will be familiar to you. It’s used by many organizations to make compelling websites and applications on the leading platforms. jQuery Mobile is a recent release focused on mobile devices with excellent cross-platform capabilities. With this repository we will be providing examples that detail some advanced features of the jQuery Mobile Framework which you will want to use in your next project.</p>
<p>Watch the <a href="https://github.com/blackberry/jQueryMobile-Samples">repository on Github</a> and you’ll see the first few tutorials with sample code appearing this month. Later in the roadmap are examples for using jQuery Mobile with other frameworks for even more opportunities to impress your users.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/9386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/9386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=9386&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/05/jquery-mobile-blackberry-samples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ebfb4d0e6ef9442e0abc42125ab51117?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timwin1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/05/blackberry-10-jam.jpg" medium="image" />
	</item>
		<item>
		<title>Adding Extensions and Patching your BlackBerry WebWorks SDK</title>
		<link>http://devblog.blackberry.com/2012/04/webworks-sdk-extensions-patching/</link>
		<comments>http://devblog.blackberry.com/2012/04/webworks-sdk-extensions-patching/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 15:49:44 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[blackberry webworks]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[patching]]></category>
		<category><![CDATA[samples]]></category>
		<category><![CDATA[webworks]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8861</guid>
		<description><![CDATA[Instructions for how to download open-source extensions and patching for the BlackBerry WebWorks SDK.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8861&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>One of my favorite features of the BlackBerry® WebWorks™ SDK is the extensions: It’s like having an ace up your sleeve for every development project. You start with one of the most complete HTML5 implementations in mobile, and you can drop down into native code for even more APIs. It gets even better when you factor in the fact that we have a GitHub repository for <a href="https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/Analytics" target="_new">community contributed extensions</a>, and we’ve even open-sourced the entire BlackBerry WebWorks SDK for both <a href="https://github.com/blackberry/WebWorks-TabletOS" target="_new">tablet</a> and <a href="https://github.com/blackberry/WebWorks" target="_new">smartphone</a> platforms. This means you can leverage the contributions of other developers with ease, not only for extensions, but to the core APIs as well.</p>
<p>About a month ago, an extension I wrote to add BlackBerry® Analytics to the BlackBerry WebWorks SDK for smartphones was included in the Community APIs on GitHub, and just this past week, a community developer’s extension to support the Clipboard was added in BlackBerry WebWorks for the BlackBerry® PlayBook™ tablet. Now if you want to use these extensions, you’ll need to download the source and add them to your SDK. Thankfully, this is quite simple to do.</p>
<p><span id="more-8861"></span></p>
<p>Right in the <a href="https://github.com/blackberry/WebWorks-Community-APIs/blob/master/Tablet/Clipboard/README.md" target="_new">Readme</a> for the extension you will find instructions:</p>
<ol>
<li>Download the source code from this repository and extract it to a location on your computer.</li>
<li>Using File Explorer, browse to the downloaded source code for this extension: Tablet\Clipboard.</li>
<li>Copy the downloaded Tablet\Clipboard\blackberry.clipboard directory to the extensions directory for the BlackBerry WebWorks SDK for Tablet OS. The default path for this location is “C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\ext”.</li>
</ol>
<p>When you’ve done that, you can build applications with &lt;feature id=&#8221;blackberry.clipboard&#8221; /&gt; in the config.xml file.</p>
<p>When you add an extension to your SDK, you will see that there are quite a few already in the /ext directory. These core APIs form the basis of the BlackBerry WebWorks SDK and its ability to go beyond the Browser. Since we’ve open sourced the SDK on Github, when an update is submitted for one of the core APIs, it’s just as easy to get the update for yourself.</p>
<p>For example, I submitted an update to the blackberry.utils API so that you can save Base64 encoded Strings as decoded binary Blobs, with the intention of saving Canvas data directly to the file system as an image file. Since this code isn’t part of the official codebase yet, if you want the code that does this in your SDK, go to the <a href="https://github.com/blackberry/WebWorks-TabletOS" target="_new">SDK on Github</a>, and look at the <a href="https://github.com/blackberry/WebWorks-TabletOS/pulls" target="_new">Pull Requests</a>.</p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-8863" src="http://rimdevblog.files.wordpress.com/2012/04/webworks-extensions-1.jpg?w=600&#038;h=522" alt="TITLE_IMAGE" width="600" height="522" /></p>
<p>If you click on the actual commit, you’ll see the code change, and you can view the actual file on Github.</p>
<p><img class="aligncenter size-full wp-image-8862" title="" src="http://rimdevblog.files.wordpress.com/2012/04/webworks-extensions-2.jpg?w=550&#038;h=318" alt="" width="550" height="318" /></p>
<p>If you click on the “Raw” button on the top right, you will get the actual file contents, so you can replace the Utilities.as file in your “C:\Program Files\Research In Motion\BlackBerry WebWorks SDK for TabletOS 2.2.0.5\bbwp\ext\blackberry.utils\src\Air\Utilities\src\blackberry\utils” directory directly.</p>
<p>Visit the <a href="https://github.com/blackberry/WebWorks-Community-APIs" target="_new">GitHub site</a> today and get some more extensions to work with. You’ll be well on your way to expanding your BlackBerry WebWorks SDK into your own custom toolkit for outstanding HTML5 applications with native capabilities.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8861/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8861/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8861&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/04/webworks-sdk-extensions-patching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ebfb4d0e6ef9442e0abc42125ab51117?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timwin1</media:title>
		</media:content>

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

		<media:content url="http://rimdevblog.files.wordpress.com/2012/04/webworks-extensions-2.jpg" medium="image" />
	</item>
		<item>
		<title>The right tool for the right job: Developer microsites get a facelift</title>
		<link>http://devblog.blackberry.com/2012/02/developer-microsites-facelift/</link>
		<comments>http://devblog.blackberry.com/2012/02/developer-microsites-facelift/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 19:58:10 +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[Java Development]]></category>
		<category><![CDATA[Native SDK Development]]></category>
		<category><![CDATA[Theme Development]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[make money]]></category>
		<category><![CDATA[microsites]]></category>
		<category><![CDATA[platforms]]></category>
		<category><![CDATA[profit]]></category>
		<category><![CDATA[samples]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8423</guid>
		<description><![CDATA[Giddy-up! We just launched new microsites to better serve the BlackBerry® developer community and have given BlackBerry Jam Zone a facelift to make it easy to navigate to the tools you want. We wanted to re-build the main page to bring you the answers you’re looking for: How do I make money? What are the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8423&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="https://bdsc.webapps.blackberry.com/devzone/platforms" target="_new"><img src="http://rimdevblog.files.wordpress.com/2012/02/developer_microsites.jpg?w=600&#038;h=225" alt="" title="" width="600" height="225" class="aligncenter size-full wp-image-8424" /></a></p>
<p>Giddy-up! We just launched new microsites to better serve the BlackBerry® developer community and have given BlackBerry Jam Zone a facelift to make it easy to navigate to the tools you want.</p>
<p>We wanted to re-build the <a href="https://bdsc.webapps.blackberry.com/devzone/platforms" target="_new">main page</a> to bring you the answers you’re looking for:</p>
<ul>
<li>How do I make money?</li>
<li>What are the development platform options and which one is right for me?</li>
<li>How do I participate in the community and collaborate with others?</li>
</ul>
<p>Now new sites have been introduced for <a href="http://developer.blackberry.com/air" target="_new">Adobe® AIR®</a> and <a href="http://developer.blackberry.com/java" target="_new">BlackBerry Java</a>.  Oh, and a BlackBerry Theme Studio website is on the way as well, so stay tuned&#8230;</p>
<p>Starting back at <a href="http://www.blackberrydevcon.com/americas" target="_new">DevCon Americas</a> we launched <a href="http://developer.blackberry.com/native" target="_new">Native C/C++</a>, <a href="http://developer.blackberry.com/android" target="_new">Android Runtime</a> and <a href="http://developer.blackberry.com/html5" target="_new">HTML5/WebWorks microsites</a> designed to bring a targeted experience for these development audiences.  These were just the beginning steps in updating our online tools to help you build for BlackBerry and PlayBook.</p>
<p>We built these microsites to:</p>
<ul>
<li>Bring all of the documentation, samples, tutorials, downloads and API references into one convenient, integrated location</li>
<li>Ensure that the information is presented and organized in a way that makes sense for the community who is using the technology</li>
<li>Keep it simple!  We’ve been working with the design groups from TAT to create a streamlined design to get you the information you’re looking for FAST!</li>
</ul>
<p>These microsites will continually evolve based on your feedback, what’s important to you, and how you approach developing apps. You’ll see lots of improvements to all of our websites as we continue to focus on getting you the information you want, the way you want it. So, don’t be shy. Let us know what you would like to see.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8423&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/02/developer-microsites-facelift/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/02/developer_microsites.jpg" medium="image" />
	</item>
		<item>
		<title>Announcing Java Sample Repositories</title>
		<link>http://devblog.blackberry.com/2012/01/java-sample-repositories/</link>
		<comments>http://devblog.blackberry.com/2012/01/java-sample-repositories/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 18:21:03 +0000</pubDate>
		<dc:creator>Tim W.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Java Development]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[samples]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=8278</guid>
		<description><![CDATA[Introducing two new repositories of Open Source code for the BlackBerry development platform.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8278&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-8279" title="" src="http://rimdevblog.files.wordpress.com/2012/01/java-samples-3.jpg?w=360&#038;h=480" alt="" width="360" height="480" /></p>
<p>We are pleased to announce <a href="https://github.com/blackberry/JDE-Samples" target="_new">two new repositories of Open Source code</a> for the BlackBerry® development platform. We have a repository of Java® sample code, which includes our BlackBerry JDE samples from the 7.0 SDK and a repository of samples previously released through our Knowledge Base. Now these popular code samples are available through the Apache License, version 2.0, which allows developers full access to use these code samples in their applications and extend the samples further.</p>
<p><strong>JDE-Samples</strong></p>
<p>If you aren’t familiar with the samples included in the BlackBerry tools, I’d recommend taking a look at our JDE-Samples repository if there is an API you are curious about. There are 100+ samples included which cover each major API. Our <a href="https://github.com/blackberry/JDE-Samples" target="_new">JDE-Samples repository</a> will include these samples for each version of the SDK.</p>
<p>This repository uses Github’s support of branches (e.g. see Pro Github’s <a href="http://progit.org/book/ch3-0.html" target="_new">Chapter 3</a>), to keep the samples for all the JDE releases in the same directory. For example, the in-device samples for JDE 4.6.1 are <a href="https://github.com/blackberry/JDE-Samples/tree/4.6.1/com/rim/samples/device" target="_new">here</a>. There are currently <a href="https://github.com/blackberry/JDE-Samples/branches" target="_new">8 branches</a>, plus the master branch. There are also <a href="https://github.com/blackberry/JDE-Samples/tags" target="_new">8 tags</a>, one for each of these branches.</p>
<p><span id="more-8278"></span></p>
<p><strong>Samples-for-Java</strong></p>
<p>Our <a href="https://github.com/blackberry/Samples-for-Java" target="_new">Samples-for-Java repository</a> includes five sample applications and we will continue to add more in the future. The popular <a href="https://github.com/blackberry/Samples-for-Java/tree/master/Advanced UI" target="_new">Advanced UI sample</a> &#8211; with its many containers and components &#8211; is included. The Knowledge Base article for this sample shows some <a href="http://supportforums.blackberry.com/t5/Java-Development/Implement-advanced-buttons-fields-and-managers/ta-p/488276" target="_new">example screenshots</a> so you can see what it can do. We’ve also included the <a href="https://github.com/blackberry/Samples-for-Java/tree/master/Simple Location API" target="_new">Simple Location API</a>, the <a href="https://github.com/blackberry/Samples-for-Java/tree/master/Titlebar" target="_new">Titlebar API</a>, and sample apps for <a href="https://github.com/blackberry/Samples-for-Java/tree/master/Analytics" target="_new">Analytics</a> and a <a href="https://github.com/blackberry/Samples-for-Java/tree/master/YouTube Client" target="_new">YouTube® client</a>. Read on for more details on these samples.</p>
<p><em>Advanced UI</em>: If you have ever wanted to take your UI designs further, this is the first place to look. There are several button extensions included, allowing you to use Bitmaps for buttons, use Embossed buttons, create hyperlinks and button lists. There are also toggle switches, sliders, ratings, and pill buttons that you can use in your applications. Advanced managers allow you to quickly create new layouts, like justified horizontal and vertical layouts, or 2-column screens. Finally, progress animations and bitmap gauge fields add polish to your UI.</p>
<p>Additional details and more screenshots like the one above are available in the <a href="http://supportforums.blackberry.com/t5/Java-Development/Implement-advanced-buttons-fields-and-managers/ta-p/488276" target="_new">Implement advanced buttons, fields, and managers article</a>.</p>
<p><img class="aligncenter size-full wp-image-8281" title="" src="http://rimdevblog.files.wordpress.com/2012/01/java-samples-1.jpg?w=360&#038;h=480" alt="" width="360" height="480" /></p>
<p><em>Simple Location API</em>: Using GPS is not always the easiest task, and this code aims to change that for when you just want location information. It automatically handles carrier and device hardware support differences and battery usage concerns.</p>
<p>More details in the Knowledge Base article <a href="http://supportforums.blackberry.com/t5/Java-Development/Simple-Location-API/ta-p/1145951" target="_new">Simple Location API</a>.</p>
<p><img class="aligncenter size-full wp-image-8280" title="" src="http://rimdevblog.files.wordpress.com/2012/01/java-samples-2.jpg?w=360&#038;h=20" alt="" width="360" height="20" /></p>
<p><em>Titlebar API</em>: Many different applications have a need for consistent system displays in their application. Basics like network coverage, the time, or the name of an application are desirable standards for an application to display at the top of the screen. In the BlackBerry Java SDK v.6.0, the Titlebar API was created for this purpose, but there are still plenty of OS 5.0 devices out there, and some of us need to support some of the 4.x code lines as well. This library attempts to port that 6.0 Titlebar API back as far as the 4.2.1 SDK. A preprocessor based wrapper allows you to code with one Titlebar class and build with any version of the SDK from 4.2.1 through 7.1.</p>
<p>The full Knowledge Base article including images is available: <a href="http://supportforums.blackberry.com/t5/Java-Development/How-To-Implement-a-TitleBar-with-Signal-Strength-Battery-Level/ta-p/1278395" target="_new">How To Implement a TitleBar with Signal Strength, Battery Level, Icon, Unread mail and Clock</a></p>
<p><em>Analytics Sample</em>: This sample implements each of the BlackBerry Analytics SDK methods so you have a handy reference. If you sign up for the service, this sample is included in the SDK download, but with it being open sourced we can continue to expand on it.</p>
<p><em>YouTube Client</em>: Originally published to both our blog and YouTube’s blog, this sample shows you how to work with the YouTube Data API using the BlackBerry Communication API from the 6.0 Java SDK. It’s a great starting point for either API or if you are doing a quick proof of concept with YouTube interaction. Further details in the Knowledge Base article: <a href="http://supportforums.blackberry.com/t5/Java-Development/How-to-Create-a-YouTube-viewer-with-the-BlackBerry-6/ta-p/744251" target="_new">How to – Create a YouTube viewer with the BlackBerry 6 Communication API</a>.</p>
<p>Check them out and see where the code takes you!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/8278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/8278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=8278&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2012/01/java-sample-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ebfb4d0e6ef9442e0abc42125ab51117?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">timwin1</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2012/01/java-samples-3.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2012/01/java-samples-1.jpg" medium="image" />

		<media:content url="http://rimdevblog.files.wordpress.com/2012/01/java-samples-2.jpg" medium="image" />
	</item>
		<item>
		<title>New fully functional samples in the Developer Resource Center!</title>
		<link>http://devblog.blackberry.com/2010/11/new-resource-samples/</link>
		<comments>http://devblog.blackberry.com/2010/11/new-resource-samples/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 20:16:20 +0000</pubDate>
		<dc:creator>Prosanta B.</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[samples]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://devblog.blackberry.com/?p=2299</guid>
		<description><![CDATA[Great news for the BlackBerry® developer community - we'll be posting some new fully functional Web apps in the Developer Resource Center for you to use!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2299&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-2677" src="http://rimdevblog.files.wordpress.com/2010/11/resources1.jpg?w=600&#038;h=216" alt="" width="600" height="216" /></p>
<p>You’ve asked for it, now we’re delivering it! Over the past couple of months, the BlackBerry® developer community has taken a strong interest in some of the sample code that we’ve published, and with the demand coming in, we decided to build some fully functional Web Apps for you guys to take apart, dissect, and use however you’d like – including copying and pasting code into your own web applications.  The first in a slew of new sample web apps will be released into the <a href="http://na.blackberry.com/eng/developers/resources?IID=DEVRES02" target="_new">Developer Resource Center</a> over the coming weeks!</p>
<p>The two samples that we’ve just posted are an RSS reader and Weather application.  Both of these apps are 100% Web Apps built entirely using web technologies (HTML, JS, CSS).  That’s right, not a single shred of Java® code in either of these!</p>
<p>The <a href="http://supportforums.blackberry.com/t5/Web-Development/Sample-Code-RSS-Reader/ta-p/589890" target="_new">RSS application</a> allows you to set any RSS feed you’d like and pull down the content on the fly. It lets you manage those RSS feeds in an easy-to-use UI, and it stores your feeds for you so they’ll always be ready when you are. This sample app demonstrates the use of tight integration with other apps (BlackBerry® Browser and Messaging applications), GPS, and integration into the BlackBerry Menu as well as how to go out over the network to retrieve and use content effectively.</p>
<p>The <a href="http://supportforums.blackberry.com/t5/Web-Development/Sample-Code-Weather-application/ta-p/589884" target="_new">Weather application</a> really demonstrates the blending of a fantastic UI with functionality. I have to say that this one really looks great, and is so easy to use! This sample app also shows off the use of a great UI, File I/O, GPS, and solid integration into the BlackBerry Menu.</p>
<p>Post a comment below and let us know what you think of these two samples, or the types of samples you’d like to see in the future.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rimdevblog.wordpress.com/2299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rimdevblog.wordpress.com/2299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devblog.blackberry.com&#038;blog=17235680&#038;post=2299&#038;subd=rimdevblog&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devblog.blackberry.com/2010/11/new-resource-samples/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/8721ed983743f63d33e3766566e941df?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Prosanta B.</media:title>
		</media:content>

		<media:content url="http://rimdevblog.files.wordpress.com/2010/11/resources1.jpg" medium="image" />
	</item>
	</channel>
</rss>
